CmdID / aws / aws redshift
aws redshift create-snapshot-copy-grant
Creates a snapshot copy grant that permits Amazon Redshift to use an encrypted symmetric key from Key Management Service (KMS) to encrypt copied snapshots in a destination region. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To create a snapshot copy grant
The following create-snapshot-copy-grant example creates a snapshot copy grant and encrypts copied snapshots in a destination AWS Region.
aws redshift create-snapshot-copy-grant --snapshot-copy-grant-name mysnapshotcopygrantnameIdentify--snapshot-copy-grant-nameThe name of the snapshot copy grant.Its output
{
"SnapshotCopyGrant": {
"SnapshotCopyGrantName": "mysnapshotcopygrantname",
"KmsKeyId": "arn:aws:kms:us-west-2:123456789012:key/bPxRfih3yCo8nvbEXAMPLEKEY",
"Tags": []
}
}For more information, see Amazon Redshift Database Encryption in the Amazon Redshift Cluster Management Guide.
Options
--kms-key-idThe unique identifier of the encrypted symmetric key to which to grant Amazon Redshift permission.--snapshot-copy-grant-nameThe name of the snapshot copy grant.--tagsA list of tag instances.