File tree Expand file tree Collapse file tree
google/cloud/secretmanager/v1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -97,6 +97,19 @@ message Secret {
9797 // Optional. Rotation policy attached to the [Secret][google.cloud.secretmanager.v1.Secret]. May be excluded if there is no
9898 // rotation policy.
9999 Rotation rotation = 9 [(google.api.field_behavior ) = OPTIONAL ];
100+
101+ // Optional. Mapping from version alias to version name.
102+ //
103+ // A version alias is a string with a maximum length of 63 characters and can
104+ // contain uppercase and lowercase letters, numerals, and the hyphen (`-`)
105+ // and underscore ('_') characters. An alias string must start with a
106+ // letter and cannot be the string 'latest' or 'NEW'.
107+ // No more than 50 aliases can be assigned to a given secret.
108+ //
109+ // Version-Alias pairs will be viewable via GetSecret and modifiable via
110+ // UpdateSecret. At launch access by alias will only be supported on
111+ // GetSecretVersion and AccessSecretVersion.
112+ map <string , int64 > version_aliases = 11 [(google.api.field_behavior ) = OPTIONAL ];
100113}
101114
102115// A secret version resource in the Secret Manager API.
You can’t perform that action at this time.
0 commit comments