Skip to content

Commit

Permalink
dbeaver/pro#2403 AWS secret controller stub
Browse files Browse the repository at this point in the history
  • Loading branch information
serge-rider committed Jan 31, 2024
1 parent a2094a4 commit c90f46b
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,13 @@
import org.jkiss.dbeaver.DBException;
import org.jkiss.dbeaver.model.auth.SMCredentialsProvider;
import org.jkiss.dbeaver.model.auth.SMSessionContext;
import org.jkiss.dbeaver.model.exec.DBCFeatureNotSupportedException;
import org.jkiss.dbeaver.model.secret.DBSSecretController;
import org.jkiss.dbeaver.model.secret.DBSSecretControllerAuthorized;
import org.jkiss.dbeaver.model.secret.DBSSecretObject;
import org.jkiss.dbeaver.model.secret.DBSSecretValue;

import java.util.List;

/**
* Void secret controller.
Expand All @@ -46,6 +51,12 @@ public void setPrivateSecretValue(@NotNull String secretId, @Nullable String sec
throw new DBException("Secret controller is read-only");
}

@NotNull
@Override
public List<DBSSecretValue> discoverCurrentUserSecrets(@NotNull DBSSecretObject secretObject) throws DBException {
throw new DBCFeatureNotSupportedException("Secrets discovery not supported");
}

@Override
public void flushChanges() {
}
Expand Down

0 comments on commit c90f46b

Please sign in to comment.