Last active
December 10, 2018 21:55
-
-
Save micahlee/d98f3d3771c5cc5e4ca1653bb8fcd6f5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# example-org.yml | |
- !policy | |
id: example-org | |
body: | |
- !layer | |
annotations: | |
org-id: 83a5b409-f5e0-4db7-8036-e342cafe358c |
This file contains hidden or 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
# example-space.yml | |
- !policy | |
id: example-space | |
body: | |
- !layer | |
annotations: | |
space-id: 2b2e0c49-5fb3-4e73-a6a6-c0311af87523 | |
- !grant | |
role: !layer example-org | |
member: !layer example-space |
This file contains hidden or 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
- !permit | |
resources: [ /business/inventory/db/user, /business/inventory/db/password ] | |
privileges: [ read, execute ] | |
role: !layer /pcf/example-org/example-space |
This file contains hidden or 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
conjur policy load pcf example-org.yml | |
conjur policy load pcf/example-org example-space.yml | |
conjur policy load apps inventory-app-entitlements.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment