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
@@ -0,0 +1,18 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Enable SAML Identity Provider for an Organization.

USAGE:
scw iam organization enable-saml [arg=value ...]

ARGS:
[organization-id] Organization ID to use. If none is passed the default organization ID will be used

FLAGS:
-h, --help help for enable-saml

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Get SAML Identity Provider configuration of an Organization.

USAGE:
scw iam organization get-saml [arg=value ...]

ARGS:
[organization-id] Organization ID to use. If none is passed the default organization ID will be used

FLAGS:
-h, --help help for get-saml

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
Organization-wide management commands.

USAGE:
scw iam organization
scw iam organization <command>

AVAILABLE COMMANDS:
enable-saml Enable SAML Identity Provider for an Organization
get-saml Get SAML Identity Provider configuration of an Organization

FLAGS:
-h, --help help for organization
Expand All @@ -13,3 +17,5 @@ GLOBAL FLAGS:
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use

Use "scw iam organization [command] --help" for more information about a command.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Add a SAML certificate.

USAGE:
scw iam saml-certificates add <saml-id ...> [arg=value ...]

ARGS:
saml-id ID of the SAML configuration
type Type of the SAML certificate (unknown_certificate_type | signing | encryption)
content Content of the SAML certificate

FLAGS:
-h, --help help for add

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Delete a SAML certificate.

USAGE:
scw iam saml-certificates delete <certificate-id ...> [arg=value ...]

ARGS:
certificate-id ID of the certificate to delete

FLAGS:
-h, --help help for delete

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
List SAML certificates.

USAGE:
scw iam saml-certificates list <saml-id ...> [arg=value ...]

ARGS:
saml-id ID of the SAML configuration

FLAGS:
-h, --help help for list

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
SAML Certificates management commands.

USAGE:
scw iam saml-certificates <command>

AVAILABLE COMMANDS:
add Add a SAML certificate
delete Delete a SAML certificate
list List SAML certificates

FLAGS:
-h, --help help for saml-certificates

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use

Use "scw iam saml-certificates [command] --help" for more information about a command.
18 changes: 18 additions & 0 deletions cmd/scw/testdata/test-all-usage-iam-saml-delete-usage.golden
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Disable SAML Identity Provider for an Organization.

USAGE:
scw iam saml delete <saml-id ...> [arg=value ...]

ARGS:
saml-id ID of the SAML configuration

FLAGS:
-h, --help help for delete

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
20 changes: 20 additions & 0 deletions cmd/scw/testdata/test-all-usage-iam-saml-update-usage.golden
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
Update SAML Identity Provider configuration.

USAGE:
scw iam saml update <saml-id ...> [arg=value ...]

ARGS:
saml-id ID of the SAML configuration
[entity-id] Entity ID of the SAML Identity Provider
[single-sign-on-url] Single Sign-On URL of the SAML Identity Provider

FLAGS:
-h, --help help for update

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use
21 changes: 21 additions & 0 deletions cmd/scw/testdata/test-all-usage-iam-saml-usage.golden
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
SAML management commands.

USAGE:
scw iam saml <command>

AVAILABLE COMMANDS:
delete Disable SAML Identity Provider for an Organization
update Update SAML Identity Provider configuration

FLAGS:
-h, --help help for saml

GLOBAL FLAGS:
-c, --config string The path to the config file
-D, --debug Enable debug mode
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
-p, --profile string The config profile to use

Use "scw iam saml [command] --help" for more information about a command.
24 changes: 13 additions & 11 deletions cmd/scw/testdata/test-all-usage-iam-usage.golden
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,19 @@ USAGE:
scw iam <command>

AVAILABLE COMMANDS:
api-key API keys management commands
application Applications management commands
group Groups management commands
jwt JWTs management commands
log Log management commands
organization Organization-wide management commands
permission-set Permission sets management commands
policy Policies management commands
rule Rules management commands
ssh-key SSH keys management commands
user Users management commands
api-key API keys management commands
application Applications management commands
group Groups management commands
jwt JWTs management commands
log Log management commands
organization Organization-wide management commands
permission-set Permission sets management commands
policy Policies management commands
rule Rules management commands
saml SAML management commands
saml-certificates SAML Certificates management commands
ssh-key SSH keys management commands
user Users management commands

FLAGS:
-h, --help help for iam
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ARGS:
[user-ids.{index}] Filter by list of IDs
[mfa] Filter by MFA status
[tag] Filter by tags containing a given string
[type] Filter by user type (unknown_type | guest | owner | member)
[type] Filter by user type (unknown_type | owner | member)
organization-id=<retrieved from config> ID of the Organization to filter

FLAGS:
Expand Down
Loading
Loading