Condition key and operator information
- Print
- PDF
Condition key and operator information
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in Classic and VPC
Describes the items related to Condition settings provided by NAVER Cloud Platform.
Condition key/value
- Condition key/value: properties information to be applied to the policy. Permission checks are performed by comparing the "key:value" set in the condition key with the "key:value" of the properties where the policy is executed.
Type | Condition key | Details | Value input | Value information path | Data type |
---|---|---|---|---|---|
Principal properties | ncp:principalName | User name of the Action performer | User name | Services > Management & Governance > Sub Account > Sub Accounts > Sub account details | String |
ncp:principalId | Login ID of the Action performer | Login ID | Services > Management & Governance > Sub Account > Sub Accounts > Sub account details | String | |
ncp:principaluuid | ID No of the Action performer | ID | Services > Management & Governance > Sub Account > Sub Accounts > Sub account details | String | |
ncp:principalType | Type of the Action performer | Enter the corresponding value from the following: | String | ||
ncp:sourceIdentityId | Each role's target resource if the principalType is IamRole | String | |||
ncp:sourceIdentityType | Each role's user type if the principalType is IamRole | Enter the corresponding value from the following: | String | ||
Resource properties | ncp : resourceTag | Tags controlling the target resource of the Action | key:value | String |
Condition operators
- Operator: a string condition used to check the "key:value" set in the condition key during permission checks.
Type | Description | Note |
---|---|---|
StringEquals | String matches exactly (case-sensitive) | |
StringNotEquals | String mismatches (case-sensitive) | |
StringLike | String matches similarly (case-sensitive) | |
StringNotLike | String matches similarly (case-sensitive) |
Type | Description | Note |
---|---|---|
~ IfExists | Check the condition only if the key exists followed by the operator. |
Was this article helpful?