Expose Valid Principals for Vault SSH Signed Certs (#3791)

* allow additional valid principals when creating vault ssh signed cert cred lib

* add additional_valid_principals field to credential libraries documentation page
This commit is contained in:
dani authored and GitHub committed 2023-10-24 12:44:51 -04:00
1 parent c95081dde9
commit c89777de41
21 files changed
+619 -228

No files matched your search

@@ -200,4 +200,13 @@ message VaultSSHCertificateCredentialLibraryAttributes {
that: "Extensions"
}
]; // @gotags: `class:"public"`
// Principals to be signed as "valid_principles" in addition to username.
repeated google.protobuf.StringValue additional_valid_principals = 90 [
(custom_options.v1.generate_sdk_option) = true,
(custom_options.v1.mask_mapping) = {
this: "attributes.additional_valid_principals"
that: "AdditionalValidPrincipals"
}
]; // @gotags: `class:"public"`
}
@@ -410,6 +410,9 @@ message VaultSSHCertificateCredentialLibraryAttributes {
// The extensions that the certificate should be signed for.
map<string, string> extensions = 7; // @gotags: class:"public"
// Principals to be signed as "valid_principles" in addition to username.
repeated string additional_valid_principals = 8; // @gotags: class:"public"
}
// ValuesAtTime contain information about other Boundary resources as they