Secret Manager V1 API - Module Google::Cloud::SecretManager::V1::Secret::SecretType (v1.9.0)

Reference documentation and code samples for the Secret Manager V1 API module Google::Cloud::SecretManager::V1::Secret::SecretType.

This defines the various values of the type of secret can be.

Constants

SECRET_TYPE_UNSPECIFIED

value: 0
Applicable to all secrets which do not have any restriction on the SecretVersions.

CLOUD_SQL_DB_CREDENTIALS

value: 1
Applicable to secrets which are used for the managed rotation feature for Cloud SQL Single User.

ACCESS_KEY

value: 2
Applicable to secrets where the payload contains an access key.

CERTIFICATE

value: 3
Applicable to secrets where the payload contains a certificate.

OTHER_DB_CREDENTIALS

value: 4
Applicable to secrets where the payload contains database credentials.

OTHER

value: 50
Applicable to secrets whose type doesn't belong to any of the above defined types.