Policy: GCP > Pub/Sub > Topic > Approved > Encryption at Rest > Customer Managed Key
The ID of a GCP KMS symmetric key that must be used as the encryption key for a GCP > Pub/Sub > Topic.
This policy will be evaluated by the Approved control. If a GCP Pub/Sub topic is not encrypted with the specified key, it will be subject to the action specified in the GCP > Pub/Sub > Topic > Approved
policy.
See Approved for more information.
Resource Types
This policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Controls
Policy Specification
Schema Type |
|
---|---|
Examples [YAML] | projects/my-kms-project/locations/us-east1/keyRings/my-keyring/cryptoKeys/my-key |
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/resourceApproved
- tmod:@turbot/gcp-pubsub#/policy/types/topicApprovedEncryptionAtRestCustomerManagedKey
- turbot graphql policy-type --id "tmod:@turbot/gcp-pubsub#/policy/types/topicApprovedEncryptionAtRestCustomerManagedKey"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-pubsub#/policy/types/topicApprovedEncryptionAtRestCustomerManagedKey"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI