Skip to main content
Alters the properties of an existing credential.
ALTER CREDENTIAL Syntax
Only users with system_admin or system_user_admin, or users with credential_admin on the credential, may alter it.

Parameters

<schema name>

Name of the schema containing the credential to alter

<credential name>

Name of the existing credential to alter.

SET PROPERTY

Indicator that a comma-delimited list of property name/value assignments will follow. See Set Properties and Options for the complete list of properties.

Examples

To alter a credential, auser_azure_active_dir_creds, updating the secret:
ALTER CREDENTIAL Example
To alter a credential, kafka_cred, updating the keystore password:
ALTER CREDENTIAL WITH OPTIONS Example

Set Properties

All credential properties can be altered via ALTER CREDENTIAL. The following are the property names and descriptions to use when performing an alteration.

TYPE

The type of credential. Supported types include:
TypeDescription
aws_access_keyAuthenticate to Amazon Web Services (AWS) via Access Key
aws_iam_roleAuthenticate to Amazon Web Services (AWS) via IAM Role
azure_adAuthenticate to Microsoft Azure via Active Directory
azure_sasAuthenticate to Microsoft Azure via Shared Access Signature (SAS)
azure_storage_keyAuthenticate to Microsoft Azure via Storage Key
confluentAuthenticate to a Confluent Kafka cluster or schema registry
dockerAuthenticate to a Docker repository
gcs_service_account_idAuthenticate to Google Cloud via user ID & private key
gcs_service_account_keysAuthenticate to Google Cloud via JSON key
hdfsAuthenticate to HDFS
jdbcAuthenticate via Java Database Connectivity
kafkaAuthenticate to a Kafka cluster or schema registry
nvidia_api_keyAuthenticate to the Nvidia AI API
openai_api_keyAuthenticate to the OpenAI API

IDENTITY

Username to use for authenticating with the credential.

SECRET

Password to use for authenticating with the credential.

'<option>'

Any option/value pair from the credential options list.