States for managing Hashicorp Vault. Currently handles policies. Configuration instructions are documented in the execution module docs.
SaltStack
new
all
New in version 2017.7.0.
salt.states.vault.
policy_present
(name, rules)¶Ensure a Vault policy with the given name and rules is present.
The name of the policy
Rules formatted as in-line HCL
demo-policy:
vault.policy_present:
- name: foo/bar
- rules: |
path "secret/top-secret/*" {
policy = "deny"
}
path "secret/not-very-secret/*" {
policy = "write"
}
Generated on May 09, 2023 at 04:03:50 UTC.
You are viewing docs for the latest stable release, 3006.1. Switch to docs for the previous stable release, 3005.1, or to a recent doc build from the master branch.
© 2023 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy