File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
cookbooks/aws-parallelcluster-environment/files/imds Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,24 @@ function help() {
3232 --unset <user1,...,userN> Remove iptables rules related to IMDS for the given list of users
3333 --flush Restore default IMDS access
3434 --help Print this help message
35+
36+ Examples:
37+
38+ Allow access for USER1 and USER2, without changing other users
39+ ${cmd} --allow USER1,USER2
40+
41+ Deny access for USER1 and USER2, without changing other users
42+ ${cmd} --deny USER1,USER2
43+
44+ Allow access only for USER1 and USER2, removing every other user from the allowlist
45+ ${cmd} --flush
46+ ${cmd} --allow USER1,USER2
47+
48+ Remove rules for USER1 and USER2, without changing other users
49+ ${cmd} --unset USER1,USER2
50+
51+ Remove IMDS lockdown, so that all users will be able to access IMDS
52+ ${cmd} --flush
3553EOF
3654}
3755
You can’t perform that action at this time.
0 commit comments