Secret Manager V1 API - Module Google::Cloud::SecretManager::V1::Secret::SecretType (v1.9.0)
Stay organized with collections
Save and categorize content based on your preferences.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-08-04 UTC."],[],[]]