A set of parameters for GPUdb::alterCredential. More…
#include <gpudb/protocol/alter_credential.h>
Public Member Functions | |
| AlterCredentialRequest () | |
| Constructs an AlterCredentialRequest object with default parameters. | |
| AlterCredentialRequest (const std::string &credentialName_, const std::map< std::string, std::string > &credentialUpdatesMap_, const std::map< std::string, std::string > &options_) | |
| Constructs an AlterCredentialRequest object with the specified parameters. | |
Public Attributes | |
| std::string | credentialName |
| Name of the credential to be altered. | |
| std::map< std::string, std::string > | credentialUpdatesMap |
| Map containing the properties of the credential to be updated. | |
| std::map< std::string, std::string > | options |
| Optional parameters. | |
Detailed Description
A set of parameters for GPUdb::alterCredential.
Alter the properties of an existing credential.
Definition at line 19 of file alter_credential.h.
Constructor & Destructor Documentation
◆ AlterCredentialRequest() [1/2]
| inline |
Constructs an AlterCredentialRequest object with default parameters.
Definition at line 24 of file alter_credential.h.
◆ AlterCredentialRequest() [2/2]
| inline |
Constructs an AlterCredentialRequest object with the specified parameters.
| [in] | credentialName_ | Name of the credential to be altered. Must be an existing credential. |
| [in] | credentialUpdatesMap_ | Map containing the properties of the credential to be updated. Error if empty.
|
| [in] | options_ | Optional parameters. |
Definition at line 108 of file alter_credential.h.
Member Data Documentation
◆ credentialName
| std::string gpudb::AlterCredentialRequest::credentialName |
Name of the credential to be altered.
Must be an existing credential.
Definition at line 119 of file alter_credential.h.
◆ credentialUpdatesMap
| std::map<std::string, std::string> gpudb::AlterCredentialRequest::credentialUpdatesMap |
Map containing the properties of the credential to be updated.
Error if empty.
- alter_credential_type: New type for the credential. Supported values:
- alter_credential_aws_access_key
- alter_credential_aws_iam_role
- alter_credential_azure_ad
- alter_credential_azure_oauth
- alter_credential_azure_sas
- alter_credential_azure_storage_key
- alter_credential_docker
- alter_credential_gcs_service_account_id
- alter_credential_gcs_service_account_keys
- alter_credential_hdfs
- alter_credential_kafka
- alter_credential_identity: New user for the credential.
- alter_credential_secret: New password for the credential.
- alter_credential_schema_name: Updates the schema name. If schema_name doesn’t exist, an error will be thrown. If schema_name is empty, then the user’s default schema will be used.
Definition at line 165 of file alter_credential.h.
◆ options
| std::map<std::string, std::string> gpudb::AlterCredentialRequest::options |
Optional parameters.
Definition at line 170 of file alter_credential.h.
The documentation for this struct was generated from the following file:
- gpudb/protocol/alter_credential.h