You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[enforce-password-renewal] Defines whether password renewal is enforced during first login
10
+
[grace-period-duration] Duration of the grace period to renew password or enable MFA.
11
+
[login-attempts-before-locked] Number of login attempts before the account is locked
12
+
[max-login-session-duration] Maximum duration a login session will stay active before needing to relogin.
13
+
[max-api-key-expiration-duration] Maximum duration the `expires_at` field of an API key can represent. A value of 0 means there is no maximum duration.
14
+
[organization-id] Organization ID to use. If none is passed the default organization ID will be used
15
+
16
+
FLAGS:
17
+
-h, --help help for update
18
+
19
+
GLOBAL FLAGS:
20
+
-c, --config string The path to the config file
21
+
-D, --debug Enable debug mode
22
+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
@@ -1064,6 +1067,54 @@ scw iam saml-certificates list <saml-id ...> [arg=value ...]
1064
1067
1065
1068
1066
1069
1070
+
## Security settings management commands
1071
+
1072
+
Security settings management commands.
1073
+
1074
+
1075
+
### Get security settings of an Organization
1076
+
1077
+
Retrieve information about the security settings of an Organization, specified by the `organization_id` parameter.
1078
+
1079
+
**Usage:**
1080
+
1081
+
```
1082
+
scw iam security-settings get [arg=value ...]
1083
+
```
1084
+
1085
+
1086
+
**Args:**
1087
+
1088
+
| Name || Description |
1089
+
|------|---|-------------|
1090
+
| organization-id || Organization ID to use. If none is passed the default organization ID will be used |
1091
+
1092
+
1093
+
1094
+
### Update the security settings of an Organization
1095
+
1096
+
Update the security settings of an Organization.
1097
+
1098
+
**Usage:**
1099
+
1100
+
```
1101
+
scw iam security-settings update [arg=value ...]
1102
+
```
1103
+
1104
+
1105
+
**Args:**
1106
+
1107
+
| Name || Description |
1108
+
|------|---|-------------|
1109
+
| enforce-password-renewal || Defines whether password renewal is enforced during first login |
1110
+
| grace-period-duration || Duration of the grace period to renew password or enable MFA. |
1111
+
| login-attempts-before-locked || Number of login attempts before the account is locked |
1112
+
| max-login-session-duration || Maximum duration a login session will stay active before needing to relogin. |
1113
+
| max-api-key-expiration-duration || Maximum duration the `expires_at` field of an API key can represent. A value of 0 means there is no maximum duration. |
1114
+
| organization-id || Organization ID to use. If none is passed the default organization ID will be used |
0 commit comments