Amazon CloudHSM Cloudhsm Operations API
The Cloudhsm Operations API from Amazon CloudHSM — 2 operation(s) for cloudhsm operations.
The Cloudhsm Operations API from Amazon CloudHSM — 2 operation(s) for cloudhsm operations.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/amazon-cloudhsm:amazon-cloudhsm-operations-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.1.0
info:
title: Amazon CloudHSM Operations API
version: '2014-05-30'
description: Generated from AWS's published Smithy model for Amazon CloudHSM. 7 operation(s).
contact:
name: Amazon Web Services
url: https://aws.amazon.com/contact-us/
license:
name: Apache 2.0
identifier: Apache-2.0
url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://cloudhsmv2.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4: []
paths:
/#CopyBackupToRegion:
post:
operationId: CopyBackupToRegion
summary: Copy Backup To Region
description: 'Copy an CloudHSM cluster backup to a different region. Cross-account use: No. You cannot perform this
operation on an CloudHSM backup in a different Amazon Web Services account.'
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CopyBackupToRegionResponse'
'400':
description: CloudHsmAccessDeniedException; CloudHsmInvalidRequestException; CloudHsmResourceNotFoundException;
CloudHsmServiceException; CloudHsmTagException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CloudHsmAccessDeniedException'
'500':
description: CloudHsmInternalFailureException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CloudHsmInternalFailureException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- BaldrApiService.CopyBackupToRegion
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CopyBackupToRegionRequest'
tags:
- Operations
/#InitializeCluster:
post:
operationId: InitializeCluster
summary: Initialize Cluster
description: 'Claims an CloudHSM cluster by submitting the cluster certificate issued by your issuing certificate authority
(CA) and the CA''s root certificate. Before you can claim a cluster, you must sign the cluster''s certificate signing
request (CSR) with your issuing CA. To get the cluster''s CSR, use DescribeClusters. Cross-account use: No. You cannot
perform this operation on an CloudHSM cluster in a different Amazon Web Services account.'
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/InitializeClusterResponse'
'400':
description: CloudHsmAccessDeniedException; CloudHsmInvalidRequestException; CloudHsmResourceNotFoundException;
CloudHsmServiceException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CloudHsmAccessDeniedException'
'500':
description: CloudHsmInternalFailureException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CloudHsmInternalFailureException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- BaldrApiService.InitializeCluster
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/InitializeClusterRequest'
tags:
- Operations
/#GetConfig:
post:
operationId: GetConfig
summary: Get Config
description: This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the
AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version
of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Gets the configuration
files necessary to connect to all high availability partition groups the client is associated with.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/GetConfigResponse'
'500':
description: CloudHsmInternalException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CloudHsmInternalException'
'400':
description: CloudHsmServiceException; InvalidRequestException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CloudHsmServiceException'
deprecated: true
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- CloudHsmFrontendService.GetConfig
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/GetConfigRequest'
tags:
- Operations
servers:
- url: https://cloudhsm.{region}.amazonaws.com
variables:
region:
default: us-east-1
/#ListAvailableZones:
post:
operationId: ListAvailableZones
summary: List Available Zones
description: This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the
AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference. For information about the current version
of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference. Lists the Availability
Zones that have available AWS CloudHSM capacity.
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ListAvailableZonesResponse'
'500':
description: CloudHsmInternalException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CloudHsmInternalException'
'400':
description: CloudHsmServiceException; InvalidRequestException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CloudHsmServiceException'
deprecated: true
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- CloudHsmFrontendService.ListAvailableZones
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ListAvailableZonesRequest'
tags:
- Operations
servers:
- url: https://cloudhsm.{region}.amazonaws.com
variables:
region:
default: us-east-1
/#ModifyBackupAttributes:
post:
operationId: ModifyBackupAttributes
summary: Modify Backup Attributes
description: 'Modifies attributes for CloudHSM backup. Cross-account use: No. You cannot perform this operation on an
CloudHSM backup in a different Amazon Web Services account.'
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ModifyBackupAttributesResponse'
'400':
description: CloudHsmAccessDeniedException; CloudHsmInvalidRequestException; CloudHsmResourceNotFoundException;
CloudHsmServiceException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CloudHsmAccessDeniedException'
'500':
description: CloudHsmInternalFailureException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CloudHsmInternalFailureException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- BaldrApiService.ModifyBackupAttributes
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/ModifyBackupAttributesRequest'
tags:
- Operations
/#TagResource:
post:
operationId: TagResource
summary: Tag Resource
description: 'Adds or overwrites one or more tags for the specified CloudHSM cluster. Cross-account use: No. You cannot
perform this operation on an CloudHSM resource in a different Amazon Web Services account.'
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/TagResourceResponse'
'400':
description: CloudHsmAccessDeniedException; CloudHsmInvalidRequestException; CloudHsmResourceLimitExceededException;
CloudHsmResourceNotFoundException; CloudHsmServiceException; CloudHsmTagException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CloudHsmAccessDeniedException'
'500':
description: CloudHsmInternalFailureException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CloudHsmInternalFailureException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- BaldrApiService.TagResource
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/TagResourceRequest'
tags:
- Operations
/#UntagResource:
post:
operationId: UntagResource
summary: Untag Resource
description: 'Removes the specified tag or tags from the specified CloudHSM cluster. Cross-account use: No. You cannot
perform this operation on an CloudHSM resource in a different Amazon Web Services account.'
responses:
'200':
description: Success
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/UntagResourceResponse'
'400':
description: CloudHsmAccessDeniedException; CloudHsmInvalidRequestException; CloudHsmResourceNotFoundException;
CloudHsmServiceException; CloudHsmTagException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CloudHsmAccessDeniedException'
'500':
description: CloudHsmInternalFailureException
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/CloudHsmInternalFailureException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- BaldrApiService.UntagResource
requestBody:
required: true
content:
application/x-amz-json-1.1:
schema:
$ref: '#/components/schemas/UntagResourceRequest'
tags:
- Operations
components:
securitySchemes:
sigv4:
type: apiKey
in: header
name: Authorization
description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
x-aws-sigv4:
signingName: cloudhsm
schemas:
Backup:
type: object
properties:
BackupId:
type: string
description: The identifier (ID) of the backup.
BackupArn:
type: string
description: The Amazon Resource Name (ARN) of the backup.
BackupState:
type: string
enum:
- CREATE_IN_PROGRESS
- READY
- DELETED
- PENDING_DELETION
description: The state of the backup.
ClusterId:
type: string
description: The identifier (ID) of the cluster that was backed up.
CreateTimestamp:
type: string
format: date-time
description: The date and time when the backup was created.
CopyTimestamp:
type: string
format: date-time
description: The date and time when the backup was copied from a source backup.
NeverExpires:
type: boolean
description: Specifies whether the service should exempt a backup from the retention policy for the cluster. True
exempts a backup from the retention policy. False means the service applies the backup retention policy defined
at the cluster.
SourceRegion:
type: string
description: The AWS Region that contains the source backup from which the new backup was copied.
SourceBackup:
type: string
description: The identifier (ID) of the source backup from which the new backup was copied.
SourceCluster:
type: string
description: The identifier (ID) of the cluster containing the source backup from which the new backup was copied.
DeleteTimestamp:
type: string
format: date-time
description: The date and time when the backup will be permanently deleted.
TagList:
type: array
items:
$ref: '#/components/schemas/Tag'
description: The list of tags for the backup.
HsmType:
type: string
description: The HSM type used to create the backup.
Mode:
type: string
enum:
- FIPS
- NON_FIPS
description: The mode of the cluster that was backed up.
required:
- BackupId
CloudHsmAccessDeniedException:
type: object
properties:
Message:
type: string
CloudHsmInternalException:
type: object
properties:
message:
type: string
description: Additional information about the error.
retryable:
type: boolean
description: Indicates if the action can be retried.
CloudHsmInternalFailureException:
type: object
properties:
Message:
type: string
CloudHsmServiceException:
type: object
properties:
message:
type: string
description: Additional information about the error.
retryable:
type: boolean
description: Indicates if the action can be retried.
CopyBackupToRegionRequest:
type: object
properties:
DestinationRegion:
type: string
description: The AWS region that will contain your copied CloudHSM cluster backup.
BackupId:
type: string
description: The ID of the backup that will be copied to the destination region.
TagList:
type: array
items:
$ref: '#/components/schemas/Tag'
description: Tags to apply to the destination backup during creation. If you specify tags, only these tags will
be applied to the destination backup. If you do not specify tags, the service copies tags from the source backup
to the destination backup.
required:
- DestinationRegion
- BackupId
CopyBackupToRegionResponse:
type: object
properties:
DestinationBackup:
$ref: '#/components/schemas/DestinationBackup'
DestinationBackup:
type: object
properties:
CreateTimestamp:
type: string
format: date-time
description: The date and time when both the source backup was created.
SourceRegion:
type: string
description: The AWS region that contains the source backup from which the new backup was copied.
SourceBackup:
type: string
description: The identifier (ID) of the source backup from which the new backup was copied.
SourceCluster:
type: string
description: The identifier (ID) of the cluster containing the source backup from which the new backup was copied.
GetConfigRequest:
type: object
properties:
ClientArn:
type: string
description: The ARN of the client.
ClientVersion:
type: string
enum:
- '5.1'
- '5.3'
description: The client version.
HapgList:
type: array
items:
type: string
description: A list of ARNs that identify the high-availability partition groups that are associated with the client.
required:
- ClientArn
- ClientVersion
- HapgList
GetConfigResponse:
type: object
properties:
ConfigType:
type: string
description: The type of credentials.
ConfigFile:
type: string
description: The chrystoki.conf configuration file.
ConfigCred:
type: string
description: The certificate file containing the server.pem files of the HSMs.
InitializeClusterRequest:
type: object
properties:
ClusterId:
type: string
description: The identifier (ID) of the cluster that you are claiming. To find the cluster ID, use DescribeClusters.
SignedCert:
type: string
description: The cluster certificate issued (signed) by your issuing certificate authority (CA). The certificate
must be in PEM format and can contain a maximum of 5000 characters.
TrustAnchor:
type: string
description: The issuing certificate of the issuing certificate authority (CA) that issued (signed) the cluster
certificate. You must use a self-signed certificate. The certificate used to sign the HSM CSR must be directly
available, and thus must be the root certificate. The certificate must be in PEM format and can contain a maximum
of 5000 characters.
required:
- ClusterId
- SignedCert
- TrustAnchor
InitializeClusterResponse:
type: object
properties:
State:
type: string
enum:
- CREATE_IN_PROGRESS
- UNINITIALIZED
- INITIALIZE_IN_PROGRESS
- INITIALIZED
- ACTIVE
- UPDATE_IN_PROGRESS
- MODIFY_IN_PROGRESS
- ROLLBACK_IN_PROGRESS
- DELETE_IN_PROGRESS
- DELETED
- DEGRADED
description: The cluster's state.
StateMessage:
type: string
description: A description of the cluster's state.
ListAvailableZonesRequest:
type: object
properties: {}
ListAvailableZonesResponse:
type: object
properties:
AZList:
type: array
items:
type: string
description: The list of Availability Zones that have available AWS CloudHSM capacity.
ModifyBackupAttributesRequest:
type: object
properties:
BackupId:
type: string
description: The identifier (ID) of the backup to modify. To find the ID of a backup, use the DescribeBackups operation.
NeverExpires:
type: boolean
description: Specifies whether the service should exempt a backup from the retention policy for the cluster. True
exempts a backup from the retention policy. False means the service applies the backup retention policy defined
at the cluster.
required:
- BackupId
- NeverExpires
ModifyBackupAttributesResponse:
type: object
properties:
Backup:
$ref: '#/components/schemas/Backup'
Tag:
type: object
properties:
Key:
type: string
description: The key of the tag.
Value:
type: string
description: The value of the tag.
required:
- Key
- Value
TagResourceRequest:
type: object
properties:
ResourceId:
type: string
description: The cluster identifier (ID) for the cluster that you are tagging. To find the cluster ID, use DescribeClusters.
TagList:
type: array
items:
$ref: '#/components/schemas/Tag'
description: A list of one or more tags.
required:
- ResourceId
- TagList
TagResourceResponse:
type: object
properties: {}
UntagResourceRequest:
type: object
properties:
ResourceId:
type: string
description: The cluster identifier (ID) for the cluster whose tags you are removing. To find the cluster ID, use
DescribeClusters.
TagKeyList:
type: array
items:
type: string
description: A list of one or more tag keys for the tags that you are removing. Specify only the tag keys, not the
tag values.
required:
- ResourceId
- TagKeyList
UntagResourceResponse:
type: object
properties: {}
x-provenance:
method: harvested
publisher: Amazon Web Services
source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/cloudhsm-v2/service/2017-04-28/cloudhsm-v2-2017-04-28.json
note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)
sources:
- https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/cloudhsm-v2/service/2017-04-28/cloudhsm-v2-2017-04-28.json
- https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/cloudhsm/service/2014-05-30/cloudhsm-2014-05-30.json