createCredential
public CreateCredentialResponse createCredential(CreateCredentialRequest request) throws GPUdbException Create a new 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.createCredential
public CreateCredentialResponse createCredential(String credentialName, String type, String identity, String secret, Map<String, String> options) throws GPUdbException Create a new credential.Parameters:credentialName- Name of the credential to be created. Must contain only letters, digits, and underscores, and cannot begin with a digit. Must not match an existing credential name.type- Type of the credential to be created. Supported values:identity- User of the credential to be created.secret- Password of the credential to be created.options- Optional parameters. The default value is an emptyMap.Returns:Responseobject containing the results of the operation.Throws:GPUdbException- if an error occurs during the operation.