[FEATURE REQUEST] Vault: Issue identities to minions #62823
Labels
Feature
new functionality including changes to functionality and code refactors, etc.
needs-triage
Vault
Is your feature request related to a problem? Please describe.
Managing Vault token policies and secrets for minions is insecure or cumbersome. To securely assign ACL policies to issued tokens, respecting the principle of least privilege, one needs to create a separate policy for each minion. This can also lead to secret duplication once several minions need access to the same data (~ minion roles).
Describe the solution you'd like
Salt should issue AppRoles to minions, which are bound to an identity. It should write metadata to the associated entity, which can then be used to template ACL policies on the Vault side, reducing the need for boilerplate policies (and data duplication) a lot:
Note that Vault does not allow arrays for metadata, hence minions can only have a single role in this scenario.
Describe alternatives you've considered
Additional context
https://discuss.hashicorp.com/t/saltstack-vault-and-host-role-policies/19214
The text was updated successfully, but these errors were encountered: