Skip to content

Commit

Permalink
dbeaver/pro#2403 AWS secret controller stub (#2350)
Browse files Browse the repository at this point in the history
Co-authored-by: kseniaguzeeva <[email protected]>
  • Loading branch information
serge-rider and kseniaguzeeva authored Feb 7, 2024
1 parent 0c03d20 commit 09e5141
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 09e5141

Please sign in to comment.