alterCredential
public AlterCredentialResponse alterCredential(AlterCredentialRequest request) throws GPUdbException Alter the properties of an existing credential.Parameters:request-Requestobject containing the parameters for the operation.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.alterCredential
public AlterCredentialResponse alterCredential(String credentialName, Map<String, String> credentialUpdatesMap, Map<String, String> options) throws GPUdbException Alter the properties of an existing credential.Parameters:credentialName- Name of the credential to be altered. Must be an existing credential.credentialUpdatesMap- Map containing the properties of the credential to be updated. Error if empty.TYPE: New type for the credential. Supported values:IDENTITY: New user for the credential.SECRET: New password for the credential.SCHEMA_NAME: Updates the schema name. IfSCHEMA_NAMEdoesn’t exist, an error will be thrown. IfSCHEMA_NAMEis empty, then the user’s default schema will be used.
options- Optional parameters.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.