Skip to content

Instantly share code, notes, and snippets.

@infamousjoeg
Created June 17, 2019 16:45
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/a5e6bb359d03b5f914f40f3cf3cbcbdf to your computer and use it in GitHub Desktop.
Save infamousjoeg/a5e6bb359d03b5f914f40f3cf3cbcbdf to your computer and use it in GitHub Desktop.
CyberArk Conjur User & Host Identities with CIDR-restriction
#Single IP
- !user
id: bob
restricted_to: 172.17.0.3
#Multiple IPs
- !user
id: joe
restricted_to: [172.17.0.3, 192.168.79.5]
# CIDR range
- !user
id: tom
restricted_to: 10.0.0.0/24
#Single IP and CIDR Range
- !user
id: scott
restricted_to: [172.17.0.3, 10.0.0.0/24]
#Single IP
- !host
id: serverA
restricted_to: 172.17.0.3
#Multiple IPs
- !host
id: serverB
restricted_to: [172.17.0.3, 192.168.79.5]
# CIDR range
- !host
id: serverC
restricted_to: 10.0.0.0/24
#Single IP and CIDR Range
- !host
id: serverD
restricted_to: [172.17.0.3, 10.0.0.0/24]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment