This pack is for Hashicorp Vault integrations
Copy the example configuration in vault.yaml.example
to /opt/stackstorm/configs/vault.yaml
and edit as required.
It should contain:
url
- URL for the Vault servercert
- Path to client-side certificateverify
- Whether to verify the SSL certificate or notauth_method
- Which authentication method to use. Onlytoken
(the default) andapprole
are implemented so far.
Also include the relevant auth_method-specific config:
token
- Authentication token forauth_method=token
. If not specified, also tries using theVAULT_TOKEN
env var or the~/.vault-token
file.role_id
- Authentication role_id forauth_method=approle
.secret_id
- Authentication secret_id forauth_method=approle
.
You can also use dynamic values from the datastore. See the docs for more info.
Note : When modifying the configuration in /opt/stackstorm/configs/
please
remember to tell StackStorm to load these new values by running
st2ctl reload --register-configs
delete
- Delete value from Vault serverget_policy
- Read policy from Vault serveris_initialized
- Read initialization status from Vault serverlist_policies
- List policies from Vault serverread
- Read value from Vault serverwrite
- Write key/value to Vault serverread_kv
- Read key-value secrets from Vault server