KMS



AWS Key Management Service (KMS) is a managed service that makes it easy to create and control the encryption keys used to encrypt your data.


Example yaml file:


apiVersion: aws.boundless.software/v1alpha1
kind: Kms
metadata:
  name: example-kms
spec:
  provider:
    region: us-east-1
  aliases:
    - example-alias
  description: example key
  policy:
    Statement:
      - Sid: Allow administration of the key
        Effect: Allow
        Principal:
          AWS: "arn:aws:iam::<id>:root"
        Action:
          - kms:*
        Resource: '*'
      - Sid: Allow use of the key
        Effect: Allow
        Principal:
          AWS: "arn:aws:iam::<id>:root"
        Action:
          - kms:Encrypt
          - kms:Decrypt
          - kms:ReEncrypt*
          - kms:GenerateDataKey*
          - kms:DescribeKey
        Resource: '*'

Inputs


KmsSpec


NameTypeDescription
provider*AwsProviderSpecProvider specifies the AWS provider settings for this KMS key. Required
aliases[]stringAliases are the aliases to be mapped to the KMS key. Optional
descriptionstringDescription is the description of the KMS key. Optional
policymap[string]apiext.JSONPolicy defines the policy for the KMS key. Optional
replicasmap[string]KmsReplicaSpecReplicas specifies the regions where replicas of this KMS key should exist. Optional

KmsReplicaSpec


NameTypeDescription
aliases[]stringAliases are the aliases to be mapped to the replica KMS key. Optional

Outputs


KmsStatus


NameTypeDescription
conditionmetav1.ConditionCondition provides the current condition of this KMS key. Optional
keyIdstringKeyId is the AWS KMS key ID. Optional
regionstringRegion is the AWS region where this key exists. Optional
aliases[]*KmsAliasStatusAliases provides the status of each alias for this KMS key. Optional
replicasmap[string]*KmsReplicaStatusReplicas provides the status of each replica for this KMS key. Optional

KmsReplicaStatus


NameTypeDescription
conditionmetav1.ConditionCondition provides the current condition of this replica KMS key. Optional
keyIdstringKeyId is the AWS KMS key ID for this replica. Optional
regionstringRegion is the AWS region where this replica key exists. Optional
aliases[]*KmsAliasStatusAliases provides the status of each alias for this replica KMS key. Optional

KmsAliasStatus


NameTypeDescription
conditionmetav1.ConditionCondition provides the current condition of this alias. Optional
namestringName is the alias name. Optional



Previous

<< RDS

Next

EC2 >>