Send feedback
Class SecretType (2.30.0)
Stay organized with collections
Save and categorize content based on your preferences.
2.30.0 (latest)
2.29.0
2.28.0
2.27.0
2.26.0
2.25.0
2.23.3
2.22.1
2.21.1
2.20.2
2.19.0
2.18.3
2.17.0
2.16.3
2.15.1
2.14.0
2.13.0
2.12.6
2.11.1
2.10.0
2.9.2
2.8.0
2.7.3
2.6.0
2.5.0
2.4.0
2.3.0
2.2.0
2.1.0
2.0.0
1.0.2
0.2.0
0.1.1
This defines the various values of the type of secret can be.
Enums
Name
Description
SECRET_TYPE_UNSPECIFIED
Applicable to all secrets which do not have any restriction on the SecretVersions.
CLOUD_SQL_DB_CREDENTIALS
Applicable to secrets which are used for the managed rotation feature for Cloud SQL Single User.
ACCESS_KEY
Applicable to secrets where the payload contains an access key.
CERTIFICATE
Applicable to secrets where the payload contains a certificate.
OTHER_DB_CREDENTIALS
Applicable to secrets where the payload contains database credentials.
OTHER
Applicable to secrets whose type doesn't belong to any of the above defined types.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-07-18 UTC.
Need to tell us more?
[[["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-07-18 UTC."],[],[]]