key#

Exec module for managing KMS Keys.

async idem_aws.exec.aws.kms.key.get(hub, ctx, name, resource_id) Dict[source]#

Get a KMS Key resource from AWS.

Parameters:
  • name (str) – The name of the Idem state.

  • resource_id (str) – Key ARN or alias ARN or alias name To specify a KMS key, use its key ID, key ARN, alias name, or alias ARN. When using an alias name, prefix it with “alias/”. To specify a KMS key in a different Amazon Web Services account, you must use the key ARN or alias ARN.

async idem_aws.exec.aws.kms.key.list_(hub, ctx, name) Dict[source]#

Fetch a list of Kms Keys from AWS.

Parameters:

name (str) – The name of the Idem state.