Skip to main content

◆ createCredential() [1/4]

CreateCredentialResponse gpudb::GPUdb::createCredential (const CreateCredentialRequest &request_) const

Create a new credential.

Parameters
[in]request_Request object containing the parameters for the operation.
Returns
Response object containing the result of the operation.

◆ createCredential() [2/4]

CreateCredentialResponse & gpudb::GPUdb::createCredential (const CreateCredentialRequest &request_,
CreateCredentialResponse &response_ ) const

Create a new credential.

Parameters
[in]request_Request object containing the parameters for the operation.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).

◆ createCredential() [3/4]

CreateCredentialResponse gpudb::GPUdb::createCredential (const std::string &credentialName,
const std::string &type,
const std::string &identity,
const std::string &secret,
const std::map< std::string, std::string > &options ) const

Create a new credential.

Parameters
[in]credentialNameName 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.
[in]typeType of the credential to be created. Supported values:
[in]identityUser of the credential to be created.
[in]secretPassword of the credential to be created.
[in]optionsOptional parameters. The default value is an empty map.
Returns
Response object containing the result of the operation.

◆ createCredential() [4/4]

CreateCredentialResponse & gpudb::GPUdb::createCredential (const std::string &credentialName,
const std::string &type,
const std::string &identity,
const std::string &secret,
const std::map< std::string, std::string > &options,
CreateCredentialResponse &response_ ) const

Create a new credential.

Parameters
[in]credentialNameName 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.
[in]typeType of the credential to be created. Supported values:
[in]identityUser of the credential to be created.
[in]secretPassword of the credential to be created.
[in]optionsOptional parameters. The default value is an empty map.
[out]response_Response object containing the results of the operation.
Returns
Response object containing the result of the operation (initially passed in by reference).