Skip to content

Instantly share code, notes, and snippets.

@infamousjoeg
Created April 17, 2018 22:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save infamousjoeg/8442ea2d8bc6c35c589d382fc81c4f57 to your computer and use it in GitHub Desktop.
Save infamousjoeg/8442ea2d8bc6c35c589d382fc81c4f57 to your computer and use it in GitHub Desktop.
Sample Policy for CyberArk Conjur that demonstrates AWS Access Key authorization
- !policy
id: department/aws
annotations:
platform: aws
department: tableau-server-dev
body:
- &secrets
- !variable department/aws/access-key-id
- !variable department/aws/secret-access-key
- !group department-aws-key-users
- !grant
role: !group department-aws-key-users
members:
- !group team-group-1
- !group team-group-2
- !permit
resource: *secrets
privileges: [ read, execute ]
role: !group department-aws-key-users
- !permit
resource: *secrets
privileges: [ read, execute, update ]
role: !group /secops
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment