Actions, resources, and condition keys for AWS CloudHSM
AWS CloudHSM (service prefix: cloudhsm) provides the following
service-specific operations, resources, actions, and condition keys for use in IAM permission
policies.
References:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
-
View the programmatic service authorization reference
for this service.
Topics
API operations defined by AWS CloudHSM
The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.
| Operation | SDK client | IAM action | Condition key | Possible value(s) | Access level |
|---|---|---|---|---|---|
|
CreateHsm |
cloudhsm |
Write |
|||
Write |
|||||
Write |
|||||
Write |
|||||
Write |
|||||
Write |
|||||
List |
|||||
List |
|||||
List |
|||||
Write |
|||||
|
DeleteHsm |
cloudhsm |
Write |
|||
Write |
|||||
|
CopyBackupToRegion |
cloudhsmv2 |
Write |
|||
Tagging, Write |
|||||
Tagging, Write |
|||||
|
CreateCluster |
cloudhsmv2 |
Write |
|||
Tagging, Write |
|||||
Write |
|||||
Write |
|||||
Write |
|||||
List |
|||||
List |
|||||
Write |
|||||
|
CreateHsm |
cloudhsmv2 |
Write |
|||
Write |
|||||
Write |
|||||
Write |
|||||
Write |
|||||
Write |
|||||
List |
|||||
List |
|||||
List |
|||||
Write |
|||||
|
DeleteBackup |
cloudhsmv2 |
Write |
|||
|
DeleteCluster |
cloudhsmv2 |
Write |
|||
|
DeleteHsm |
cloudhsmv2 |
Write |
|||
Write |
|||||
|
DeleteResourcePolicy |
cloudhsmv2 |
Permissions management, Write |
|||
|
DescribeBackups |
cloudhsmv2 |
Read |
|||
|
DescribeClusters |
cloudhsmv2 |
Read |
|||
|
GetResourcePolicy |
cloudhsmv2 |
Read |
|||
|
InitializeCluster |
cloudhsmv2 |
Write |
|||
|
ListTags |
cloudhsmv2 |
Read |
|||
|
ModifyBackupAttributes |
cloudhsmv2 |
Write |
|||
|
ModifyCluster |
cloudhsmv2 |
Write |
|||
|
PutResourcePolicy |
cloudhsmv2 |
Permissions management, Write |
|||
|
RestoreBackup |
cloudhsmv2 |
Write |
|||
|
TagResource |
cloudhsmv2 |
Tagging, Write |
|||
|
UntagResource |
cloudhsmv2 |
Tagging, Write |
Actions defined by AWS CloudHSM
You can specify the following actions in the Action element of an IAM
policy statement. Use policies to grant permissions to perform an operation in AWS. When
you use an action in a policy, you usually allow or deny access to the API operation or CLI
command with the same name. However, in some cases, a single action controls access to more
than one operation. Alternatively, some operations require several different actions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to create a copy of a backup in the specified region |
Write |
|||
Grants permission to create a new AWS CloudHSM cluster |
Write |
|||
Grants permission to create a new hardware security module (HSM) in the specified AWS CloudHSM cluster |
Write |
|||
Grants permission to delete the specified CloudHSM backup |
Write |
|||
Grants permission to delete the specified AWS CloudHSM cluster |
Write |
|||
Grants permission to delete the specified HSM |
Write |
|||
Grants permission to delete the policy attached to CloudHSM resources |
Permissions management, Write |
|||
Grants permission to get information about backups of AWS CloudHSM clusters |
Read |
|||
Grants permission to get information about AWS CloudHSM clusters |
Read |
|||
Grants permission to get information about the policy attached to a AWS CloudHSM resource |
Read |
|||
Grants permission to claim an AWS CloudHSM cluster |
Write |
|||
Grants permission to get a list of tags for the specified AWS CloudHSM cluster |
Read |
|||
Grants permission to modify attributes for an AWS CloudHSM backup |
Write |
|||
Grants permission to modify AWS CloudHSM cluster |
Write |
|||
Grants permission to attach a policy to an AWS CloudHSM resource |
Permissions management, Write |
|||
Grants permission to restore the specified CloudHSM backup |
Write |
|||
Grants permission to add or overwrite one or more tags for the specified AWS CloudHSM cluster |
Tagging, Write |
|||
Grants permission to remove the specified tag or tags from the specified AWS CloudHSM cluster |
Tagging, Write |
|||
Resource types defined by AWS CloudHSM
The following resource types are defined by this service and can be used in the
Resource element of IAM permission policy statements.
| Resource types | ARN | Condition keys |
|---|---|---|
arn:${Partition}:cloudhsm:${Region}:${Account}:backup/${CloudHsmBackupInstanceName} |
||
arn:${Partition}:cloudhsm:${Region}:${Account}:cluster/${CloudHsmClusterInstanceName} |
Condition keys for AWS CloudHSM
AWS CloudHSM defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters access by the presence of tag key-value pairs in the request |
String |
|
Filters access by tag key-value pairs attached to the resource |
String |
|
Filters access by the presence of tag keys in the request |
ArrayOfString |