feat: static json credentials (#2423)
This commit is contained in:
1 parent
8c53d931aa
commit
546c5dc5be
42 files changed
+3207
-165
No files matched your search
@@ -69,6 +69,11 @@ message Credential {
|
||||
(custom_options.v1.generate_sdk_option) = true,
|
||||
(custom_options.v1.subtype) = "ssh_private_key"
|
||||
];
|
||||
JsonAttributes json_attributes = 103 [
|
||||
(google.api.field_visibility).restriction = "INTERNAL",
|
||||
(custom_options.v1.generate_sdk_option) = true,
|
||||
(custom_options.v1.subtype) = "json"
|
||||
];
|
||||
}
|
||||
|
||||
// Output only. The available actions on this resource for this user.
|
||||
@@ -155,3 +160,25 @@ message SshPrivateKeyAttributes {
|
||||
}
|
||||
]; // @gotags: `class:"public"`
|
||||
}
|
||||
|
||||
// The attributes of a JSON Credential.
|
||||
message JsonAttributes {
|
||||
// Input only. The secret associated with the credential.
|
||||
google.protobuf.Struct object = 10 [
|
||||
json_name = "object",
|
||||
(custom_options.v1.generate_sdk_option) = true,
|
||||
(custom_options.v1.mask_mapping) = {
|
||||
this: "attributes.object"
|
||||
that: "Object"
|
||||
}
|
||||
]; // @gotags: `class:"secret"`
|
||||
|
||||
// Output only. The hmac value of the object.
|
||||
string object_hmac = 20 [
|
||||
json_name = "object_hmac",
|
||||
(custom_options.v1.mask_mapping) = {
|
||||
this: "attributes.object_hmac"
|
||||
that: "ObjectHmac"
|
||||
}
|
||||
]; // @gotags: `class:"public"`
|
||||
}
|
||||
Reference in new issue
Block a user