diff --git a/docs/index.md b/docs/index.md index 5d4ab3c..74b5953 100644 --- a/docs/index.md +++ b/docs/index.md @@ -200,7 +200,7 @@ on darwin_arm64 ## Create a new SkySQL service -1. Go to MariaDB ID: [https://id.mariadb.com/account/api/](https://id.mariadb.com/account/api/) and generate an API key +1. Go to User API Keys Page: [https://app.skysql.com/user-profile/api-keys](https://app.skysql.com/user-profile/api-keys) and generate an API key 2. Set environment variables: @@ -281,7 +281,7 @@ output "skysql_credentials" { # Example how you can generate a command line for the database connection output "skysql_cmd" { - value = "mariadb --host ${data.skysql_service.default.fqdn} --port 3306 --user ${data.skysql_service.default.service_id} -p --ssl-ca ~/Downloads/skysql_chain_2022.pem" + value = "mariadb --host ${data.skysql_service.default.fqdn} --port 3306 --user ${data.skysql_service.default.service_id} -p --ssl-verify-server-cert" } ``` diff --git a/examples/global-replication/main.tf b/examples/global-replication/main.tf index fc0061c..5fcf79d 100644 --- a/examples/global-replication/main.tf +++ b/examples/global-replication/main.tf @@ -98,7 +98,7 @@ resource "skysql_allow_list" "default" { # Example how you can generate a command line for the database connection output "skysql_cmd" { - value = "mariadb --host ${data.skysql_service.default.fqdn} --port 3306 --user ${data.skysql_service.default.service_id} -p --ssl-ca ~/Downloads/skysql_chain_2022.pem" + value = "mariadb --host ${data.skysql_service.default.fqdn} --port 3306 --user ${data.skysql_service.default.service_id} -p --ssl-verify-server-cert" } diff --git a/examples/provider/provider.tf b/examples/provider/provider.tf index 217d41b..70d8b0c 100644 --- a/examples/provider/provider.tf +++ b/examples/provider/provider.tf @@ -68,5 +68,5 @@ output "skysql_credentials" { # Example how you can generate a command line for the database connection output "skysql_cmd" { - value = "mariadb --host ${data.skysql_service.default.fqdn} --port 3306 --user ${data.skysql_service.default.service_id} -p --ssl-ca ~/Downloads/skysql_chain_2022.pem" + value = "mariadb --host ${data.skysql_service.default.fqdn} --port 3306 --user ${data.skysql_service.default.service_id} -p --ssl-verify-server-cert" } diff --git a/templates/index.md.tmpl b/templates/index.md.tmpl index 6900989..608bd1e 100644 --- a/templates/index.md.tmpl +++ b/templates/index.md.tmpl @@ -200,7 +200,7 @@ on darwin_arm64 ## Create a new SkySQL service -1. Go to MariaDB ID: [https://id.mariadb.com/account/api/](https://id.mariadb.com/account/api/) and generate an API key +1. Go to User API Keys Page: [https://app.skysql.com/user-profile/api-keys](https://app.skysql.com/user-profile/api-keys) and generate an API key 2. Set environment variables: