-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(vault-group): aws secret engine support
- Loading branch information
1 parent
8b465b3
commit dacc140
Showing
3 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# AWS Secret Engine Policy | ||
# Allows Read Access | ||
|
||
# List roles | ||
path "${engine_path}/roles" { | ||
capabilities = ["list"] | ||
} | ||
|
||
# Read roles | ||
path "${engine_path}/roles/${group_name}${separator}${environment}${separator}+" { | ||
capabilities = ["read"] | ||
} | ||
|
||
# Generate credentials | ||
path "${engine_path}/creds/${group_name}${separator}${environment}${separator}+" { | ||
capabilities = ["read"] | ||
} | ||
|
||
path "${engine_path}/sts/${group_name}${separator}${environment}${separator}+" { | ||
capabilities = ["read"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Database Secret Engine Policy | ||
# Allows Write Access | ||
|
||
path "${engine_path}/roles/${group_name}${separator}${environment}${separator}+" { | ||
capabilities = ["create", "delete"] | ||
} |