Skip to content

Commit

Permalink
[DOC-10520] Fix the domain on some API examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mdlinville committed Jun 12, 2024
1 parent dde37e8 commit 9aa7c70
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
14 changes: 7 additions & 7 deletions src/current/cockroachcloud/egress-perimeter-controls.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ The operations described in this page require an API key with very broad permiss
~~~shell
curl --request GET \
--header "Authorization: Bearer $CC_API_KEY" \
--url "https://management-staging.crdb.io/api/v1/clusters/$CLUSTER_ID"
--url "https://cockroachlabs.cloud/api/v1/clusters/$CLUSTER_ID"
~~~

~~~json
Expand Down Expand Up @@ -119,7 +119,7 @@ Essential external traffic destined to resources managed by Cockroach Labs is al
curl --request POST \
--header "Authorization: Bearer $CC_API_KEY" \
--header 'Cc-Version: latest' \
--url "https://management-staging.crdb.io/api/v1/clusters/$CLUSTER_ID/networking/egress-rules/egress-traffic-policy" \
--url "https://cockroachlabs.cloud/api/v1/clusters/$CLUSTER_ID/networking/egress-rules/egress-traffic-policy" \
--data '{"allow_all":false}'
~~~
Expand Down Expand Up @@ -215,12 +215,12 @@ The following steps create one FQDN rule and one CIDR rule.
~~~shell
curl --request POST \
--header "Authorization: Bearer $CC_API_KEY" \
--url "https://management-staging.crdb.io/api/v1/clusters/$CLUSTER_ID/networking/egress-rules" \
--url "https://cockroachlabs.cloud/api/v1/clusters/$CLUSTER_ID/networking/egress-rules" \
--data "@egress-rule1.json"

curl --request POST \
--header "Authorization: Bearer $CC_API_KEY" \
--url "https://management-staging.crdb.io/api/v1/clusters/$CLUSTER_ID/networking/egress-rules" \
--url "https://cockroachlabs.cloud/api/v1/clusters/$CLUSTER_ID/networking/egress-rules" \
--data "@egress-rule2.json"
~~~

Expand Down Expand Up @@ -275,7 +275,7 @@ Refer to the list of [rule statuses](#rule-statuses).
curl --request GET \
--header "Authorization: Bearer $CC_API_KEY" \
--header 'Cc-Version: 2022-09-20' \
--url "https://management-staging.crdb.io/api/v1/clusters/$CLUSTER_ID/networking/egress-rules/$RULE_ID"
--url "https://cockroachlabs.cloud/api/v1/clusters/$CLUSTER_ID/networking/egress-rules/$RULE_ID"
~~~
~~~txt
Expand Down Expand Up @@ -307,7 +307,7 @@ Consult the glossary of [rule statuses](#rule-statuses).
curl --request GET \
--header "Authorization: Bearer $CC_API_KEY" \
--header 'Cc-Version: 2022-09-20' \
--url "https://management-staging.crdb.io/api/v1/clusters/$CLUSTER_ID/networking/egress-rules"
--url "https://cockroachlabs.cloud/api/v1/clusters/$CLUSTER_ID/networking/egress-rules"
~~~
Expand Down Expand Up @@ -361,7 +361,7 @@ Your cluster's firewall behavior is enforced asynchronously after the API respon
curl --request DELETE \
--header "Authorization: Bearer $CC_API_KEY" \
--header 'Cc-Version: 2022-09-20' \
--url "https://management-staging.crdb.io/api/v1/clusters/$CLUSTER_ID/networking/egress-rules/$RULE_ID"
--url "https://cockroachlabs.cloud/api/v1/clusters/$CLUSTER_ID/networking/egress-rules/$RULE_ID"
~~~
~~~txt
Expand Down
2 changes: 1 addition & 1 deletion src/current/v22.1/vault-db-secrets-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ In this phase of the tutorial we will act as an administrator for our organizati
1. Select **"Download CA Cert (Required only once)"** and use the generated `curl` command to download the certificate.
~~~shell
curl --create-dirs -o root.crt -O https://management-staging.crdb.io/clusters/505a138c-37ff-46b7-9c50-4119cf0881f6/cert
curl --create-dirs -o root.crt -O https://cockroachlabs.cloud/clusters/505a138c-37ff-46b7-9c50-4119cf0881f6/cert
~~~
1. Prove that your connection works by executing a SQL statement.
Expand Down
2 changes: 1 addition & 1 deletion src/current/v22.2/vault-db-secrets-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ In this phase of the tutorial we will act as an administrator for our organizati
1. Select **"Download CA Cert (Required only once)"** and use the generated `curl` command to download the certificate.
~~~shell
curl --create-dirs -o root.crt -O https://management-staging.crdb.io/clusters/505a138c-37ff-46b7-9c50-4119cf0881f6/cert
curl --create-dirs -o root.crt -O https://cockroachlabs.cloud/clusters/505a138c-37ff-46b7-9c50-4119cf0881f6/cert
~~~
1. Prove that your connection works by executing a SQL statement.
Expand Down
2 changes: 1 addition & 1 deletion src/current/v23.1/vault-db-secrets-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ In this phase of the tutorial we will act as an administrator for our organizati
1. Select **"Download CA Cert (Required only once)"** and use the generated `curl` command to download the certificate.
~~~shell
curl --create-dirs -o root.crt -O https://management-staging.crdb.io/clusters/505a138c-37ff-46b7-9c50-4119cf0881f6/cert
curl --create-dirs -o root.crt -O https://cockroachlabs.cloud/clusters/505a138c-37ff-46b7-9c50-4119cf0881f6/cert
~~~
1. Prove that your connection works by executing a SQL statement.
Expand Down
2 changes: 1 addition & 1 deletion src/current/v23.2/vault-db-secrets-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ In this phase of the tutorial we will act as an administrator for our organizati
1. Select **"Download CA Cert (Required only once)"** and use the generated `curl` command to download the certificate.
~~~shell
curl --create-dirs -o root.crt -O https://management-staging.crdb.io/clusters/505a138c-37ff-46b7-9c50-4119cf0881f6/cert
curl --create-dirs -o root.crt -O https://cockroachlabs.cloud/clusters/505a138c-37ff-46b7-9c50-4119cf0881f6/cert
~~~
1. Prove that your connection works by executing a SQL statement.
Expand Down
2 changes: 1 addition & 1 deletion src/current/v24.1/vault-db-secrets-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ In this phase of the tutorial we will act as an administrator for our organizati
1. Select **"Download CA Cert (Required only once)"** and use the generated `curl` command to download the certificate.
~~~shell
curl --create-dirs -o root.crt -O https://management-staging.crdb.io/clusters/505a138c-37ff-46b7-9c50-4119cf0881f6/cert
curl --create-dirs -o root.crt -O https://cockroachlabs.cloud/clusters/505a138c-37ff-46b7-9c50-4119cf0881f6/cert
~~~
1. Prove that your connection works by executing a SQL statement.
Expand Down

0 comments on commit 9aa7c70

Please sign in to comment.