Configuring GCP Secret Manager on Audit Listener
roles/secretmanager.secretAccessor
- on the GCP project level.roles/secretmanager.viewer
- on the GCP project level.roles/pubsub.subscriber
- on the designated Pub/Sub Subscription.Service Account Key
Setup with Kustomize
gce-patch.yaml
with the following content:Setup with Helm
Setup on Standalone VMs
systemd edit audit-listener.service
Then, edit the file to include the necessary environment variables:GCE Metadata Server
Setup with Kustomize
Setup with Helm
Setup on Standalone VMs
GKE Metadata Server and Workload Identity
Setup with Kustomize
Setup with Helm
Setup on Standalone VMs
GCP
as the provider type.ProjectId
: GCP Project ID.Topic
: Name of the Pub/Sub Topic.Subscription
: Name of the Pub/Sub Subscription.Service Account Keys
GKE Metadata Server and Workload Identity
GCE Metadata Server