You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specifically I'm using the PKI backend and want to add a list of IP addresses and DNS names that should be present on the certificate.
Have you got any example of how to do this with vault-sidekick? Or otherwise, how you'd like to see this implemented? Comma-separated may work, but it'd require specifically hard-coding data structures that vault accepts into vault-sidekick (so that we could detect if something should or shouldn't be a list). Alternatively we could use a syntax closer to JSON, eg. ip_addresses=['ip-1'] etc..
The text was updated successfully, but these errors were encountered:
After looking through the codebase for vault-sidekick, it appears values that are passed in the
cn
are set as the JSON request body to Vault. With the current way this is done (here https://github.com/UKHomeOffice/vault-sidekick/blob/master/vault_resources.go#L135 and https://github.com/UKHomeOffice/vault-sidekick/blob/master/vault.go#L322), I'm unsure if it's possible to pass any values that should be arrays?Specifically I'm using the PKI backend and want to add a list of IP addresses and DNS names that should be present on the certificate.
Have you got any example of how to do this with vault-sidekick? Or otherwise, how you'd like to see this implemented? Comma-separated may work, but it'd require specifically hard-coding data structures that vault accepts into vault-sidekick (so that we could detect if something should or shouldn't be a list). Alternatively we could use a syntax closer to JSON, eg.
ip_addresses=['ip-1']
etc..The text was updated successfully, but these errors were encountered: