条件付きのアクセスポリシーを作成します。
操作説明
条件付きのアクセスポリシーを作成します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
eiam:CreateConditionalAccessPolicy |
create |
*ConditionalAccessPolicy
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| InstanceId |
string |
必須 |
インスタンス ID。 |
idaas_ue2jvisn35ea5lmthk267xxxxx |
| ConditionalAccessPolicyName |
string |
必須 |
条件付きのアクセスポリシー名。 |
My conditional access policy |
| Description |
string |
任意 |
条件付きのアクセスポリシーの説明。 |
Test description |
| ConditionalAccessPolicyType |
string |
必須 |
条件付きのアクセスポリシータイプ。有効な値: arn:alibaba:idaas:authn:access:policy:system: システムポリシー。 列挙値:
|
arn:alibaba:idaas:authn:access:policy:system |
| DecisionType |
string |
必須 |
条件付きのアクセスポリシー実行タイプ。有効な値: enforcement: 強制ポリシー。 列挙値:
|
enforcement |
| EvaluateAt |
string |
必須 |
条件付きのアクセスポリシー評価ポイント。有効な値:
列挙値:
|
arn:alibaba:idaas:authn:access:rule:eval_at:after_step1 |
| DecisionConfig |
object |
任意 |
条件付きのアクセスポリシー操作構成。 |
|
| Effect |
string |
任意 |
条件付きアクセスポリシー決定操作。有効な値:
列挙値:
|
allow or deny |
| MfaType |
string |
任意 |
条件付きアクセスポリシー多要素認証 (MFA) タイプ。有効な値:
列挙値:
|
directly_access |
| MfaAuthenticationIntervalSeconds |
integer |
任意 |
条件付きアクセスポリシー再認証間隔(秒)。
|
500 |
| MfaAuthenticationMethods |
array |
任意 |
条件付きのアクセスポリシーで許可される多要素認証 (MFA) タイプ。有効な値:
列挙値:
|
|
|
string |
任意 |
多要素認証 (MFA) タイプ。 |
ia_totp |
|
| ActiveSessionReuseStatus |
string |
任意 |
会話の再利用を有効にするかどうかを指定します。 列挙値:
|
enabled |
| ConditionsConfig |
object |
任意 |
条件付きのアクセスポリシー条件構成。 |
|
| Applications |
object |
任意 |
条件付きアクセスポリシーの対象アプリケーション。 |
|
| IncludeApplications |
array |
任意 |
含まれるアプリケーション。 |
|
|
string |
任意 |
アプリケーション ID。 |
app_xxxx |
|
| ExcludeApplications |
array |
任意 |
除外されるアプリケーション。 |
|
|
string |
任意 |
アプリケーション ID。 |
app_xxxx |
|
| Users |
object |
任意 |
条件付きアクセスポリシーの対象ユーザー。 |
|
| IncludeUsers |
array |
任意 |
含まれるユーザー。 |
|
|
string |
任意 |
ユーザー ID。 |
user_xxxx |
|
| ExcludeUsers |
array |
任意 |
除外されるユーザー。 |
|
|
string |
任意 |
ユーザー ID。 |
user_xxxx |
|
| IncludeGroups |
array |
任意 |
含まれるユーザーグループ。 |
|
|
string |
任意 |
グループ ID。 |
group_xxxxx |
|
| ExcludeGroups |
array |
任意 |
除外されるユーザーグループ。 |
|
|
string |
任意 |
グループ ID。 |
group_xxxxx |
|
| IncludeOrganizationalUnits |
array |
任意 |
含まれる組織単位。 |
|
|
string |
任意 |
組織単位 ID。 |
ou_sdfnbsxxxx |
|
| ExcludeOrganizationalUnits |
array |
任意 |
除外される組織単位。 |
|
|
string |
任意 |
組織単位 ID。 |
ou_xxxxx |
|
| NetworkZones |
object |
任意 |
条件付きアクセスポリシーのネットワークゾーン。 |
|
| IncludeNetworkZones |
array |
任意 |
含まれるネットワークゾーン。 |
|
|
string |
任意 |
ネットワークゾーン ID。 |
network_xxxxx |
|
| ExcludeNetworkZones |
array |
任意 |
除外されるネットワークゾーン。 |
|
|
string |
任意 |
ネットワークゾーン ID。 |
network_xxxxx |
|
| Priority |
integer |
任意 |
条件付きのアクセスポリシー優先度。値が小さいほど優先度が高くなります。 最小値: 1。 最大値: 100。 |
1 |
| ClientToken |
string |
任意 |
冪等性トークン。 |
client-token-example |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答パラメーター。 |
||
| RequestId |
string |
リクエスト ID。 |
0441BD79-92F3-53AA-8657-F8CE4A2B912A |
| ConditionalAccessPolicyId |
string |
条件付きアクセスポリシー ID。 |
cp_xxxxx |
例
成功レスポンス
JSONJSON
{
"RequestId": "0441BD79-92F3-53AA-8657-F8CE4A2B912A",
"ConditionalAccessPolicyId": "cp_xxxxx"
}
エラーコード
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。