Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ USAGE:
ARGS:
[order-by=created_at_asc] Criteria for sorting results (created_at_asc | created_at_desc | updated_at_asc | updated_at_desc | expires_at_asc | expires_at_desc | access_key_asc | access_key_desc)
[editable] Filter out editable API keys or not
[expirable] Filter out expirable API keys or not
[expired] Filter out expired API keys or not
[access-key] Filter out by access key
[description] Filter out by description
[bearer-id] Filter out by bearer ID
Expand Down
2 changes: 1 addition & 1 deletion docs/commands/iam.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ scw iam api-key list [arg=value ...]
| ~~application-id~~ | Deprecated | ID of an application bearer |
| ~~user-id~~ | Deprecated | ID of a user bearer |
| editable | | Filter out editable API keys or not |
| expirable | | Filter out expirable API keys or not |
| expired | | Filter out expired API keys or not |
| access-key | | Filter out by access key |
| description | | Filter out by description |
| bearer-id | | Filter out by bearer ID |
Expand Down
4 changes: 2 additions & 2 deletions internal/namespaces/iam/v1alpha1/iam_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -1562,8 +1562,8 @@ func iamAPIKeyList() *core.Command {
Positional: false,
},
{
Name: "expirable",
Short: `Filter out expirable API keys or not`,
Name: "expired",
Short: `Filter out expired API keys or not`,
Required: false,
Deprecated: false,
Positional: false,
Expand Down