feat(credentials): Add PasswordAttributes credential type (#6110)

This commit is contained in:
Bharath Gajjala committed 2025-11-13 12:28:04 -08:00
1 parent d0050ad881
commit 5cf33fa8b3
5 files changed
+146 -37

No files matched your search

@@ -157,6 +157,28 @@ message UsernamePasswordDomainAttributes {
]; // @gotags: `class:"public"`
}
// The attributes of a Password Credential.
message PasswordAttributes {
// Input only. The password associated with the credential.
google.protobuf.StringValue password = 10 [
json_name = "password",
(custom_options.v1.generate_sdk_option) = true,
(custom_options.v1.mask_mapping) = {
this: "attributes.password"
that: "Password"
}
]; // @gotags: `class:"secret"`
// Output only. The hmac value of the password.
string password_hmac = 20 [
json_name = "password_hmac",
(custom_options.v1.mask_mapping) = {
this: "attributes.password_hmac"
that: "PasswordHmac"
}
]; // @gotags: `class:"public"`
}
// The attributes of a SshPrivateKey Credential.
message SshPrivateKeyAttributes {
// The username associated with the credential.