Skip to content

Update Alias

paymentcryptographycontrolplane_update_alias R Documentation

Associates an existing Amazon Web Services Payment Cryptography alias with a different key

Description

Associates an existing Amazon Web Services Payment Cryptography alias with a different key. Each alias is associated with only one Amazon Web Services Payment Cryptography key at a time, although a key can have multiple aliases. The alias and the Amazon Web Services Payment Cryptography key must be in the same Amazon Web Services account and Amazon Web Services Region

Cross-account use: This operation can't be used across different Amazon Web Services accounts.

Related operations:

  • create_alias

  • delete_alias

  • get_alias

  • list_aliases

Usage

paymentcryptographycontrolplane_update_alias(AliasName, KeyArn)

Arguments

AliasName

[required] The alias whose associated key is changing.

KeyArn

The KeyARN for the key that you are updating or removing from the alias.

Value

A list with the following syntax:

list(
  Alias = list(
    AliasName = "string",
    KeyArn = "string"
  )
)

Request syntax

svc$update_alias(
  AliasName = "string",
  KeyArn = "string"
)