Send feedback
Secret Manager v1 API - Enum Secret.Types.SecretType (2.8.0)
Stay organized with collections
Save and categorize content based on your preferences.
2.8.0 (latest)
2.7.0
2.6.0
2.5.0
2.4.0
2.3.0
2.2.0
2.1.0
2.0.0
1.9.0
1.8.0
1.7.0
1.6.0
1.5.0
1.4.0
1.3.0
public enum Secret . Types . SecretType
Reference documentation and code samples for the Secret Manager v1 API enum Secret.Types.SecretType.
This defines the various values of the type of secret can be.
Namespace
Google.Cloud.SecretManager.V1
Assembly
Google.Cloud.SecretManager.V1.dll
Fields
Name
Description
AccessKey
Applicable to secrets where the payload contains an access key.
Certificate
Applicable to secrets where the payload contains a certificate.
CloudSqlDbCredentials
Applicable to secrets which are used for the managed rotation feature
for Cloud SQL Single User.
Other
Applicable to secrets whose type doesn't belong to any of the above
defined types.
OtherDbCredentials
Applicable to secrets where the payload contains database credentials.
Unspecified
Applicable to all secrets which do not have any restriction on the
SecretVersions.
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-14 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-14 UTC."],[],[]]