diff --git a/docs/sources/setup-grafana/configure-security/configure-private-datasource-connect/index.md b/docs/sources/setup-grafana/configure-security/configure-private-datasource-connect/index.md index e5289c3254d..60219bc2346 100644 --- a/docs/sources/setup-grafana/configure-security/configure-private-datasource-connect/index.md +++ b/docs/sources/setup-grafana/configure-security/configure-private-datasource-connect/index.md @@ -115,13 +115,13 @@ To set up a private data source connection, follow these steps: Additionally: - - ${PDC_GATEWAY}: The URL of the private data source connect in Grafana Cloud. The Grafana team will give you this URL. The URL follows the format `grafana-private-datasource-connect-<cluster>.grafana.net` + - ${PDC_GATEWAY}: The URL of the private data source connect in Grafana Cloud. The Grafana team will give you this URL. The URL follows the format `private-datasource-connect-.grafana.net` - ${SLUG}: The name of the stack you want to connect to your data source. For example, the stack `test.grafana.net` has the slug `test.` - **Option 2:** Using the [pdc-agent](https://github.com/grafana/pdc-agent) docker [image](https://hub.docker.com/r/grafana/pdc-agent/tags) ``` - docker run --rm --name pdc-agent -v $(pwd):/etc/keys grafana/pdc-agent:latest -i /etc/keys/${SLUG} ${SLUG}@host.docker.internal -p 2222 -o BatchMode=yes -o UserKnownHostsFile=/etc/keys/known_hosts -o CertificateFile=/etc/keys/${SLUG}-cert.pub -R 0 -v + docker run --rm --name pdc-agent -v $(pwd):/etc/keys grafana/pdc-agent:latest -i /etc/keys/${SLUG} ${SLUG}@${PDC_GATEWAY} -p 22 -o BatchMode=yes -o UserKnownHostsFile=/etc/keys/known_hosts -o CertificateFile=/etc/keys/${SLUG}-cert.pub -R 0 -v ``` The flags used on this are a combination of: @@ -130,7 +130,7 @@ To set up a private data source connection, follow these steps: - --name pdc-agent: This names the docker process pdc-agent - -v $(pwd):/etc/keys: Copies the working directory into the /etc/keys directory in the Docker container - -i /etc/keys/${SLUG}: The private key - - -p 2222: The docker container port + - -p 22: The port to connect to - -o [BatchMode](https://man.openbsd.org/ssh_config.5#BatchMode): Skips the passphrase checking - -o [UserKnownHostsFile](https://man.openbsd.org/ssh_config.5#UserKnownHostsFile): The list of Grafana PDC servers to trust when establishing a connection for the first time - -o [CertificateFile](https://man.openbsd.org/ssh_config.5#CertificateFile): Your public certificate