@cloud-copilot/iam-expand 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -105,7 +105,7 @@ iam-expand "s3Get*Tagging"
|
|
|
105
105
|
|
|
106
106
|
iam-expand --error-on-invalid-format "s3Get*Tagging"
|
|
107
107
|
# Throws an error and returns a non zero exit code
|
|
108
|
-
#
|
|
108
|
+
# Invalid action format: s3Get*Tagging
|
|
109
109
|
```
|
|
110
110
|
|
|
111
111
|
#### `--error-on-invalid-service`
|
|
@@ -117,7 +117,7 @@ iam-expand "r2:Get*Tagging"
|
|
|
117
117
|
|
|
118
118
|
iam-expand --error-on-invalid-service "r2:Get*Tagging"
|
|
119
119
|
# Throws an error and returns a non zero exit code
|
|
120
|
-
#
|
|
120
|
+
# Service not found: r2
|
|
121
121
|
```
|
|
122
122
|
|
|
123
123
|
#### `--invalid-action-behavior`
|
|
@@ -132,7 +132,7 @@ iam-expand --invalid-action-behavior=remove "ec2:DestroyAvailabilityZone"
|
|
|
132
132
|
|
|
133
133
|
iam-expand --invalid-action-behavior=error "ec2:DestroyAvailabilityZone"
|
|
134
134
|
# Throws an error and returns a non zero exit code
|
|
135
|
-
#
|
|
135
|
+
# Invalid action: ec2:DestroyAvailabilityZone
|
|
136
136
|
|
|
137
137
|
iam-expand --invalid-action-behavior=include "ec2:DestroyAvailabilityZone"
|
|
138
138
|
# Returns the invalid action
|
|
@@ -158,7 +158,7 @@ When reading from stdin (see [below](#read-from-stdin)) the CLI will wait 10 sec
|
|
|
158
158
|
cat policy.json | iam-expand
|
|
159
159
|
# Will wait for 10 seconds for input, which is plenty of time for a local file.
|
|
160
160
|
|
|
161
|
-
curl "https://
|
|
161
|
+
curl "https://government-secrets.s3.amazonaws.com/secret-policy.json" | iam-expand --read-wait-time=20_000
|
|
162
162
|
# Will wait for 20 seconds for the first byte from curl before timing out. Adjust as needed
|
|
163
163
|
```
|
|
164
164
|
|