CmdID

CmdID / aws / aws payment-cryptography

aws payment-cryptography create-alias

Creates an alias, or a friendly name, for an Amazon Web Services Payment Cryptography key. AWS CLI reference

1 example 2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To create an alias for a key

The following create-alias example creates an alias for a key.

aws payment-cryptography create-alias --alias-name alias/sampleAlias1 --key-arn arn:aws:payment-cryptography:us-west-2:123456789012:key/kwapwa6qaifllw2hIdentify
--alias-nameA friendly name that you can use to refer to a key.
--key-arnThe KeyARN of the key to associate with the alias.
Its output
{
    "Alias": {
        "AliasName": "alias/sampleAlias1",
        "KeyArn": "arn:aws:payment-cryptography:us-west-2:123456789012:key/kwapwa6qaifllw2h"
    }
}

For more information, see About aliases in the AWS Payment Cryptography User Guide.

Options

2 in the AWS CLI reference
--alias-nameA friendly name that you can use to refer to a key.
--key-arnThe KeyARN of the key to associate with the alias.