create_luna_client

create_luna_client(**kwargs)

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.

Creates an HSM client.

See also: AWS API Documentation

Request Syntax

response = client.create_luna_client(
    Label='string',
    Certificate='string'
)
Parameters
  • Label (string) -- The label for the client.
  • Certificate (string) --

    [REQUIRED]

    The contents of a Base64-Encoded X.509 v3 certificate to be installed on the HSMs used by this client.

Return type

dict

Returns

Response Syntax

{
    'ClientArn': 'string'
}

Response Structure

  • (dict) --

    Contains the output of the CreateLunaClient action.

    • ClientArn (string) --

      The ARN of the client.

Exceptions

  • CloudHSM.Client.exceptions.CloudHsmServiceException
  • CloudHSM.Client.exceptions.CloudHsmInternalException
  • CloudHSM.Client.exceptions.InvalidRequestException