Skip to main content

Constants for the fields of the /alter/credential request.

Option fields

credential_updates_map

Constants for credential_updates_map.

pub const AWS_ACCESS_KEY: &str = “aws_access_key”;
pub const AWS_IAM_ROLE: &str = “aws_iam_role”;
pub const AZURE_AD: &str = “azure_ad”;
pub const AZURE_OAUTH: &str = “azure_oauth”;
pub const AZURE_SAS: &str = “azure_sas”;
pub const AZURE_STORAGE_KEY: &str = “azure_storage_key”;
pub const DOCKER: &str = “docker”;
pub const GCS_SERVICE_ACCOUNT_ID: &str = “gcs_service_account_id”;
pub const GCS_SERVICE_ACCOUNT_KEYS: &str = “gcs_service_account_keys”;
pub const HDFS: &str = “hdfs”;
pub const IDENTITY: &str = “identity”;

New user for the credential.

pub const KAFKA: &str = “kafka”;
pub const SCHEMA_NAME: &str = “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.

pub const SECRET: &str = “secret”;

New password for the credential.

pub const TYPE: &str = “type”;

New type for the credential.