<h2>Storing credentials in Google Cloud Secret Manager</h2><br/><div style="overflow-x:auto"><h1 style="margin: 18pt 0cm 4pt; break-after: avoid; font-size: 20pt; font-family: 'Aptos Display', sans-serif; color: rgb(15, 71, 97); font-weight: normal;">Storing Credentials in Google Cloud Secret Manager</h1> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">The informer program running in the Kubernetes cluster connects to the ServiceNow instance using credentials provided by the user. By default, those credentials are stored as a Kubernetes secret. However, when the Kubernetes cluster is hosted on <a href="https://cloud.google.com/kubernetes-engine?hl=en">Google Kubernetes Engine (GKE)</a>, it is possible to pull the credentials from <a href="https://cloud.google.com/security/products/secret-manager?hl=en">Google Secret Manager</a>.</p> <h1 style="margin: 18pt 0cm 4pt; break-after: avoid; font-size: 20pt; font-family: 'Aptos Display', sans-serif; color: rgb(15, 71, 97); font-weight: normal;">Adding Credentials to Google Cloud Secret Manager</h1> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">At minimum you need to add a secret that holds the ServiceNow instance username and a secret that holds the password. Other optional secrets are:</p> <ul style="margin-bottom: 0cm; margin-top: 0px; list-style-position: inside;"><li style="margin: 0cm 0cm 0cm 0px; font-size: 12pt; font-family: Aptos, sans-serif;">If OAuth2.0 is used, create secrets that hold the “client ID” and the “Client Secret”</li><li style="margin: 0cm 0cm 0cm 0px; font-size: 12pt; font-family: Aptos, sans-serif;">If proxy authentication is used create secrets that hold the proxy user and the proxy password.</li></ul> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">Example:</p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><img src="/sys_attachment.do?sys_id=03737ed797b1925024a7739c1253af2a" width="816" height="406" border="0" /></p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> <h1 style="margin: 18pt 0cm 4pt; break-after: avoid; font-size: 20pt; font-family: 'Aptos Display', sans-serif; color: rgb(15, 71, 97); font-weight: normal;">Connecting your GKE Cluster to the Secrets</h1> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">For detailed information on how to configure your cluster see <a href="https://cloud.google.com/secret-manager/docs/secret-manager-managed-csi-component">Google’s documentation</a>.</p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">Once your cluster is configured and ready to connect to the secrets run this command per each secret:</p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 8pt;">gcloud secrets add-iam-policy-binding <em>SECRET_NAME</em> \</span></p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 8pt;"> --role=roles/secretmanager.secretAccessor \</span></p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 8pt;"> --member=principal://iam.googleapis.com/projects/<em>PROJECT_NUMBER</em>/locations/global/workloadIdentityPools/<em>PROJECT_ID</em>.svc.id.goog/subject/ns/<em>NAMESPACE</em>/sa/<em>SERVICE_ACCOUNT_NAME</em></span></p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">Important note: If the namespace and service account are created by "Kubernetes Visibility Agent" and do not exist yet, run first the "Kubernetes Visibility Agent" installation (though the pod will not be able to run initially)</p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">The PROJECT_NUMBER is the project numerical value (e.g. 617327982084). The PROJECT_ID is the textual ID (e.g. deductive-reach-207607).</p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">You can find the PROJECT_ID and PROJECT_NUMBER if you will select the “Cloud Overview/Dashboard” in your GCP console:</p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><img src="/sys_attachment.do?sys_id=cb737ad797b1925024a7739c1253afc3" width="298" height="89" border="0" /> </p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><img src="/sys_attachment.do?sys_id=d373bad797b1925024a7739c1253af59" width="478" height="224" border="0" /></p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">If you are using the Helm chart, the SERVICE_ACCOUNT_NAME is by default <em>servicenow-<INSTANCE_NAME>. </em>If you access your instance using <a href="https://my_instance.service-now.com">https://my_instance.service-now.com</a> then the service account would be servicenow-my_instance.</p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">If you are using k8s_informer.yaml, the SERVICE_ACCOUNT_NAME Is by default <em>servicenow</em>.</p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">Customers who choose to install the "Kubernetes Visibility Agent" deployment (a.k.a. informer) using another service account should use here that service account name.</p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">You need to repeat this command per each of the secrets.</p> <h1 style="margin: 18pt 0cm 4pt; break-after: avoid; font-size: 20pt; font-family: 'Aptos Display', sans-serif; color: rgb(15, 71, 97); font-weight: normal;">Installing the Informer Using Helm Chart</h1> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">When installing the informer using Helm install command, you need to provide the additional parameters using the --set option.</p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> <table class="MsoTableGrid" style="border-collapse: collapse; border: none; width: 90.2088%; height: 644px;" border="1" cellspacing="0" cellpadding="0"><tbody><tr style="height: 22.6016px;"><td style="width: 36.1486%; border: 1pt solid windowtext; padding: 0cm 5.4pt; height: 22.6016px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><strong><span style="font-size: 10.0pt;">Parameter Name</span></strong></p> </td><td style="width: 36.3568%; border-top: 1pt solid windowtext; border-right: 1pt solid windowtext; border-bottom: 1pt solid windowtext; border-image: initial; border-left: none; padding: 0cm 5.4pt; height: 22.6016px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><strong><span style="font-size: 10.0pt;">Value</span></strong></p> </td><td style="width: 27.5984%; border-top: 1pt solid windowtext; border-right: 1pt solid windowtext; border-bottom: 1pt solid windowtext; border-image: initial; border-left: none; padding: 0cm 5.4pt; height: 22.6016px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><strong><span style="font-size: 10.0pt;">Mandatory?</span></strong></p> </td></tr><tr style="height: 22.6016px;"><td style="width: 36.1486%; border-right: 1pt solid windowtext; border-bottom: 1pt solid windowtext; border-left: 1pt solid windowtext; border-image: initial; border-top: none; padding: 0cm 5.4pt; height: 22.6016px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">secretProvider</span></p> </td><td style="width: 36.3568%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 22.6016px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">google</span></p> </td><td style="width: 27.5984%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 22.6016px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">Yes</span></p> </td></tr><tr style="height: 36.7891px;"><td style="width: 36.1486%; border-right: 1pt solid windowtext; border-bottom: 1pt solid windowtext; border-left: 1pt solid windowtext; border-image: initial; border-top: none; padding: 0cm 5.4pt; height: 36.7891px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">googleSecrets.projectId</span></p> </td><td style="width: 36.3568%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 36.7891px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">The project ID. Example: deductive-reach-207607</span></p> </td><td style="width: 27.5984%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 36.7891px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">Yes</span></p> </td></tr><tr style="height: 36.7891px;"><td style="width: 36.1486%; border-right: 1pt solid windowtext; border-bottom: 1pt solid windowtext; border-left: 1pt solid windowtext; border-image: initial; border-top: none; padding: 0cm 5.4pt; height: 36.7891px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">googleSecrets.userSecret</span></p> </td><td style="width: 36.3568%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 36.7891px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">The name of the secret holding the instance username</span></p> </td><td style="width: 27.5984%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 36.7891px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">Yes</span></p> </td></tr><tr style="height: 32.1875px;"><td style="width: 36.1486%; border-right: 1pt solid windowtext; border-bottom: 1pt solid windowtext; border-left: 1pt solid windowtext; border-image: initial; border-top: none; padding: 0cm 5.4pt; height: 32.1875px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">googleSecrets.userSecretVersion</span></p> </td><td style="width: 36.3568%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 32.1875px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">The version of the secret </span></p> </td><td style="width: 27.5984%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 32.1875px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">No. Default is “1”</span></p> </td></tr><tr style="height: 32.7891px;"><td style="width: 36.1486%; border-right: 1pt solid windowtext; border-bottom: 1pt solid windowtext; border-left: 1pt solid windowtext; border-image: initial; border-top: none; padding: 0cm 5.4pt; height: 32.7891px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">googleSecrets.passwordSecret</span></p> </td><td style="width: 36.3568%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 32.7891px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">The name of secret holding the instance password</span></p> </td><td style="width: 27.5984%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 32.7891px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">Yes</span></p> </td></tr><tr style="height: 34.1875px;"><td style="width: 36.1486%; border-right: 1pt solid windowtext; border-bottom: 1pt solid windowtext; border-left: 1pt solid windowtext; border-image: initial; border-top: none; padding: 0cm 5.4pt; height: 34.1875px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">googleSecrets.passwordSecretVersion</span></p> </td><td style="width: 36.3568%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 34.1875px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">The version of the secret</span></p> </td><td style="width: 27.5984%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 34.1875px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">No. Default is “1”</span></p> </td></tr><tr style="height: 51.7891px;"><td style="width: 36.1486%; border-right: 1pt solid windowtext; border-bottom: 1pt solid windowtext; border-left: 1pt solid windowtext; border-image: initial; border-top: none; padding: 0cm 5.4pt; height: 51.7891px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">googleSecrets.gkeSecretProvider</span></p> </td><td style="width: 36.3568%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 51.7891px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">The name of the secret provider</span></p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> </td><td style="width: 27.5984%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 51.7891px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">No. The default is secrets-store-gke.csi.k8s.io</span></p> </td></tr><tr style="height: 22.6016px;"><td style="width: 100.104%; border-right: 1pt solid windowtext; border-bottom: 1pt solid windowtext; border-left: 1pt solid windowtext; border-image: initial; border-top: none; padding: 0cm 5.4pt; height: 22.6016px;" colspan="3" valign="top"> <p style="text-align: center; margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><strong><span style="font-size: 10.0pt;">OAuth Parameters</span></strong></p> </td></tr><tr style="height: 37.7891px;"><td style="width: 36.1486%; border-right: 1pt solid windowtext; border-bottom: 1pt solid windowtext; border-left: 1pt solid windowtext; border-image: initial; border-top: none; padding: 0cm 5.4pt; height: 37.7891px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">googleSecrets.oauthClientIdSecret</span></p> </td><td style="width: 36.3568%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 37.7891px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">The name of secret holding the OAuth client ID</span></p> </td><td style="width: 27.5984%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 37.7891px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">No. Only when OAuth is used</span></p> </td></tr><tr style="height: 33.1875px;"><td style="width: 36.1486%; border-right: 1pt solid windowtext; border-bottom: 1pt solid windowtext; border-left: 1pt solid windowtext; border-image: initial; border-top: none; padding: 0cm 5.4pt; height: 33.1875px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">googleSecrets.oauthClientIdVersion</span></p> </td><td style="width: 36.3568%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 33.1875px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">The version of the secret</span></p> </td><td style="width: 27.5984%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 33.1875px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">No. Default is “1”</span></p> </td></tr><tr style="height: 36.7891px;"><td style="width: 36.1486%; border-right: 1pt solid windowtext; border-bottom: 1pt solid windowtext; border-left: 1pt solid windowtext; border-image: initial; border-top: none; padding: 0cm 5.4pt; height: 36.7891px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">googleSecrets.oauthClientSecret</span></p> </td><td style="width: 36.3568%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 36.7891px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">The name if secret holding the OAuth client secret</span></p> </td><td style="width: 27.5984%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 36.7891px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">No. Only when OAuth is used</span></p> </td></tr><tr style="height: 37.1875px;"><td style="width: 36.1486%; border-right: 1pt solid windowtext; border-bottom: 1pt solid windowtext; border-left: 1pt solid windowtext; border-image: initial; border-top: none; padding: 0cm 5.4pt; height: 37.1875px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">googleSecrets.oauthClientSecretVersion</span></p> </td><td style="width: 36.3568%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 37.1875px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">The version of the secret</span></p> </td><td style="width: 27.5984%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 37.1875px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">No. Default is “1”</span></p> </td></tr><tr style="height: 22.6016px;"><td style="width: 100.104%; border-right: 1pt solid windowtext; border-bottom: 1pt solid windowtext; border-left: 1pt solid windowtext; border-image: initial; border-top: none; padding: 0cm 5.4pt; height: 22.6016px;" colspan="3" valign="top"> <p style="text-align: center; margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><strong><span style="font-size: 10.0pt;">Proxy Authentication Parameters</span></strong></p> </td></tr><tr style="height: 44.7969px;"><td style="width: 36.1486%; border-right: 1pt solid windowtext; border-bottom: 1pt solid windowtext; border-left: 1pt solid windowtext; border-image: initial; border-top: none; padding: 0cm 5.4pt; height: 44.7969px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">googleSecrets.proxyUserSecret</span></p> </td><td style="width: 36.3568%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 44.7969px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">The name of the secret holding the proxy user secret</span></p> </td><td style="width: 27.5984%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 44.7969px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">No. Only when proxy authentication is used</span></p> </td></tr><tr style="height: 36.1875px;"><td style="width: 36.1486%; border-right: 1pt solid windowtext; border-bottom: 1pt solid windowtext; border-left: 1pt solid windowtext; border-image: initial; border-top: none; padding: 0cm 5.4pt; height: 36.1875px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">googleSecrets.proxyUserSecretVersion</span></p> </td><td style="width: 36.3568%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 36.1875px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">The version of the secret</span></p> </td><td style="width: 27.5984%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 36.1875px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">No. Default is “1”</span></p> </td></tr><tr style="height: 44.7969px;"><td style="width: 36.1486%; border-right: 1pt solid windowtext; border-bottom: 1pt solid windowtext; border-left: 1pt solid windowtext; border-image: initial; border-top: none; padding: 0cm 5.4pt; height: 44.7969px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">googleSecrets.proxyPasswordSecret</span></p> </td><td style="width: 36.3568%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 44.7969px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">The name of the secret holding the proxy password</span></p> </td><td style="width: 27.5984%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 44.7969px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">No. Only when proxy authentication is used</span></p> </td></tr><tr style="height: 38.25px;"><td style="width: 36.1486%; border-right: 1pt solid windowtext; border-bottom: 1pt solid windowtext; border-left: 1pt solid windowtext; border-image: initial; border-top: none; padding: 0cm 5.4pt; height: 38.25px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">googleSecrets.proxyPasswordSecretVersion</span></p> </td><td style="width: 36.3568%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 38.25px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">The version of the secret</span></p> </td><td style="width: 27.5984%; border-top: none; border-left: none; border-bottom: 1pt solid windowtext; border-right: 1pt solid windowtext; padding: 0cm 5.4pt; height: 38.25px;" valign="top"> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10.0pt;">No. Default is “1”</span></p> </td></tr></tbody></table> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> <h1 style="margin: 18pt 0cm 4pt; break-after: avoid; font-size: 20pt; font-family: 'Aptos Display', sans-serif; color: rgb(15, 71, 97); font-weight: normal;">Installing the Informer Using k8s_informer.yaml</h1> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">Create a text file using the following content. Replace NAMESPACE, INSTANCE_NAME, USER_SECRET, USER_SECRET_VERSION, PASSWORD_SECRET, PASSWORD_SECRET_VERSION</p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">If OAuth is used, replace OAUTH_CLIENT_ID_SECRET, OAUTH_CLIENT_ID_VERSION, OAUTH_CLIENT_SECRET, OAUTH_CLIENT_SECRET_VERSION. Otherwise, remove the lines containing these place holders.</p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">If proxy authentication is used, replace PROXY_USER_SECRET, PROXY_USER_SECRET_VERSION, PROXY_PASSWORD_SECRET, PROXY_PASSWORD_SECRET_VERSION. Otherwise, remove the lines containing these place holders.</p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10pt;"><span style="line-height: 150%; font-family: Menlo; color: rgb(86, 156, 214);">apiVersion</span><span style="line-height: 150%; font-family: Menlo; color: rgb(204, 204, 204);">: </span><span style="line-height: 150%; font-family: Menlo; color: rgb(206, 145, 120);">secrets-store.csi.x-k8s.io/v1</span></span></p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10pt;"><span style="line-height: 150%; font-family: Menlo; color: rgb(86, 156, 214);">kind</span><span style="line-height: 150%; font-family: Menlo; color: rgb(204, 204, 204);">: </span><span style="line-height: 150%; font-family: Menlo; color: rgb(206, 145, 120);">SecretProviderClass</span></span></p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10pt;"><span style="line-height: 150%; font-family: Menlo; color: rgb(86, 156, 214);">metadata</span><span style="line-height: 150%; font-family: Menlo; color: rgb(204, 204, 204);">:</span></span></p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10pt;"><span style="line-height: 150%; font-family: Menlo; color: rgb(204, 204, 204);"> </span><span style="line-height: 150%; font-family: Menlo; color: rgb(86, 156, 214);">name</span><span style="line-height: 150%; font-family: Menlo; color: rgb(204, 204, 204);">: </span><span style="line-height: 150%; font-family: Menlo; color: rgb(206, 145, 120);">k8s-informer-google-INSTANCE_NAME</span></span></p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10pt;"><span style="line-height: 150%; font-family: Menlo; color: rgb(206, 145, 120);"><span style="line-height: 150%; font-family: Menlo; color: rgb(86, 156, 214);"> name</span><span style="line-height: 150%; font-family: Menlo; color: rgb(204, 204, 204);">: </span>NAMESPACE</span></span></p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10pt;"><span style="line-height: 150%; font-family: Menlo; color: rgb(86, 156, 214);">spec</span><span style="line-height: 150%; font-family: Menlo; color: rgb(204, 204, 204);">:</span></span></p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10pt;"><span style="line-height: 150%; font-family: Menlo; color: rgb(204, 204, 204);"> </span><span style="line-height: 150%; font-family: Menlo; color: rgb(86, 156, 214);">provider</span><span style="line-height: 150%; font-family: Menlo; color: rgb(204, 204, 204);">: </span><span style="line-height: 150%; font-family: Menlo; color: rgb(206, 145, 120);">gke</span></span></p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10pt;"><span style="line-height: 150%; font-family: Menlo; color: rgb(204, 204, 204);"> </span><span style="line-height: 150%; font-family: Menlo; color: rgb(86, 156, 214);">parameters</span><span style="line-height: 150%; font-family: Menlo; color: rgb(204, 204, 204);">:</span></span></p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10pt;"><span style="line-height: 150%; font-family: Menlo; color: rgb(204, 204, 204);"> </span><span style="line-height: 150%; font-family: Menlo; color: rgb(86, 156, 214);">secrets</span><span style="line-height: 150%; font-family: Menlo; color: rgb(204, 204, 204);">: </span><span style="line-height: 150%; font-family: Menlo; color: rgb(197, 134, 192);">|</span></span></p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10pt; line-height: 150%; font-family: Menlo; color: rgb(206, 145, 120);"> - resourceName: "projects/PROJECT_ID/secrets/USER_SECRET/versions/USER_SECRET_VERSION"</span></p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10pt; line-height: 150%; font-family: Menlo; color: rgb(206, 145, 120);"> path: ".user"</span></p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10pt; line-height: 150%; font-family: Menlo; color: rgb(206, 145, 120);"> - resourceName: "projects/PROJECT_ID/secrets/PASSWORD_SECRET/versions/PASSWORD_SECRET_VERSION"</span></p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10pt; line-height: 150%; font-family: Menlo; color: rgb(206, 145, 120);"> path: ".password"</span></p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10pt; line-height: 150%; font-family: Menlo; color: rgb(206, 145, 120);"> - resourceName: "projects/PROJECT_ID/secrets/OAUTH_CLIENT_ID_SECRET/versions/OAUTH_CLIENT_ID_VERSION"</span></p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10pt; line-height: 150%; font-family: Menlo; color: rgb(206, 145, 120);"> path: ".client_id"</span></p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10pt; line-height: 150%; font-family: Menlo; color: rgb(206, 145, 120);"> - resourceName: "projects/PROJECT_ID/secrets/OAUTH_CLIENT_SECRET/versions/OAUTH_CLIENT_SECRET"</span></p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10pt; line-height: 150%; font-family: Menlo; color: rgb(206, 145, 120);"> path: ".client_secret"</span></p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10pt; line-height: 150%; font-family: Menlo; color: rgb(206, 145, 120);"> - resourceName: "projects/PROJECT_ID/secrets/PROXY_USER_SECRET/versions/PROXY_USER_SECRET_VERSION"</span></p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10pt; line-height: 150%; font-family: Menlo; color: rgb(206, 145, 120);"> path: ".proxyUser"</span></p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10pt; line-height: 150%; font-family: Menlo; color: rgb(206, 145, 120);"> - resourceName: "projects/PROJECT_ID/secrets/PROXY_PASSWORD_SECRET/versions/PROXY_PASSWORD_SECRET_VERSION"</span></p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10pt; line-height: 150%; font-family: Menlo; color: rgb(206, 145, 120);"> path: ".proxyPassword"</span></p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">Run kubectl apply -f <file name> to deploy the file.</p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">In the deployment section in k8s_informer.yaml replace this part:</p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="position: relative; z-index: 251660288;"><span style="position: absolute; left: -6px; top: -717px; width: 492px; height: 32px;"><br /></span></span> </p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 6.5pt; line-height: 150%; font-family: Menlo; color: #cccccc;"> <span style="font-size: 8pt;"> <span style="font-size: 10pt;"> </span></span></span><span style="font-size: 10pt;"><span style="line-height: 150%; font-family: Menlo; color: rgb(86, 156, 214);">secret</span><span style="line-height: 150%; font-family: Menlo; color: rgb(204, 204, 204);">:</span></span></p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10pt;"><span style="line-height: 150%; font-family: Menlo; color: rgb(204, 204, 204);"> </span><span style="line-height: 150%; font-family: Menlo; color: rgb(86, 156, 214);">secretName</span><span style="line-height: 150%; font-family: Menlo; color: rgb(204, 204, 204);">: </span><span style="line-height: 150%; font-family: Menlo; color: rgb(206, 145, 120);">k8s-informer-cred-INSTANCE_NAME</span></span></p> <p style="line-height: 150%; margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">By this part:</p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 6.5pt; line-height: 150%; font-family: Menlo; color: #cccccc;"> <span style="font-size: 10pt;"> </span></span><span style="font-size: 10pt;"><span style="line-height: 150%; font-family: Menlo; color: rgb(86, 156, 214);">csi</span><span style="line-height: 150%; font-family: Menlo; color: rgb(204, 204, 204);">:</span></span></p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10pt;"><span style="line-height: 150%; font-family: Menlo; color: rgb(204, 204, 204);"> </span><span style="line-height: 150%; font-family: Menlo; color: rgb(86, 156, 214);">driver</span><span style="line-height: 150%; font-family: Menlo; color: rgb(204, 204, 204);">: secrets-store-gke.csi.k8s.io</span></span></p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10pt;"><span style="line-height: 150%; font-family: Menlo; color: rgb(86, 156, 214);"> readOnly</span><span style="line-height: 150%; font-family: Menlo; color: rgb(204, 204, 204);">: </span><span style="line-height: 150%; font-family: Menlo; color: rgb(86, 156, 214);">true</span></span></p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10pt;"><span style="line-height: 150%; font-family: Menlo; color: rgb(204, 204, 204);"> </span><span style="line-height: 150%; font-family: Menlo; color: rgb(86, 156, 214);">volumeAttributes</span><span style="line-height: 150%; font-family: Menlo; color: rgb(204, 204, 204);">:</span></span></p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10pt;"><span style="line-height: 150%; font-family: Menlo; color: rgb(204, 204, 204);"> </span><span style="line-height: 150%; font-family: Menlo; color: rgb(86, 156, 214);">secretProviderClass</span><span style="line-height: 150%; font-family: Menlo; color: rgb(204, 204, 204);">: </span><span style="line-height: 150%; font-family: Menlo; color: rgb(206, 145, 120);">k8s-informer-google-INSTANCE_NAME</span></span></p> <p style="line-height: 150%; margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="position: relative; z-index: 251661312;"><span style="position: absolute; left: -1px; top: -745px; width: 490px; height: 69px;"> </span></span></p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">In the deployment section of k8s_informer.yaml set the environment variable SECRET_PROVIDER to google.</p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 6.5pt; line-height: 150%; font-family: Menlo; color: #cccccc;"> <span style="font-size: 10pt;">- </span></span><span style="font-size: 10pt;"><span style="line-height: 150%; font-family: Menlo; color: rgb(86, 156, 214);">name</span><span style="line-height: 150%; font-family: Menlo; color: rgb(204, 204, 204);">: </span><span style="line-height: 150%; font-family: Menlo; color: rgb(206, 145, 120);">SECRET_PROVIDER</span></span></p> <p style="line-height: 150%; background: rgb(31, 31, 31); margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"><span style="font-size: 10pt;"><span style="line-height: 150%; font-family: Menlo; color: rgb(204, 204, 204);"> </span><span style="line-height: 150%; font-family: Menlo; color: rgb(86, 156, 214);">value</span><span style="line-height: 150%; font-family: Menlo; color: rgb(204, 204, 204);">: </span><span style="line-height: 150%; font-family: Menlo; color: rgb(206, 145, 120);">"google"</span></span></p> <p style="line-height: 150%; margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;"> </p> <p style="margin: 0cm; font-size: 12pt; font-family: Aptos, sans-serif;">Then continue to replace the place holders as described in the documentation and apply the file.</p></div>