◆ 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
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] | 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. |
| [in] | type | Type of the credential to be created. Supported values:
|
| [in] | identity | User of the credential to be created. |
| [in] | secret | Password of the credential to be created. |
| [in] | options | Optional 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] | 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. |
| [in] | type | Type of the credential to be created. Supported values:
|
| [in] | identity | User of the credential to be created. |
| [in] | secret | Password of the credential to be created. |
| [in] | options | Optional 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).