Skip to content

Instantly share code, notes, and snippets.

@caryyu
Created June 18, 2020 09:54
Show Gist options
  • Save caryyu/3fa8906a122a61b6ad01d3acee6f5269 to your computer and use it in GitHub Desktop.
Save caryyu/3fa8906a122a61b6ad01d3acee6f5269 to your computer and use it in GitHub Desktop.
Vault tips & tricks
vault write auth/userpass/users/caryyu password="xxxxxxxxxxxx" 

vault auth list -detailed

vault policy list

vault write identity/entity name="caryyu" policies="policy-1,policy-2"

vault write identity/entity-alias name="caryyu" mount_accessor=auth_userpass_7cde8625
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment