diff --git a/menu/navigation.json b/menu/navigation.json index 3c15c82c2e..1b2ae8a809 100644 --- a/menu/navigation.json +++ b/menu/navigation.json @@ -587,10 +587,6 @@ "label": "Deploying External Secrets on Kubernetes Kapsule", "slug": "external-secrets" }, - { - "label": "Creating and migrating a secret into a specific path using the CLI and Go", - "slug": "create-secret-path-migrate" - }, { "label": "Creating a database credentials secret type", "slug": "create-secret-with-type" diff --git a/pages/secret-manager/api-cli/create-secret-path-migrate.mdx b/pages/secret-manager/api-cli/create-secret-path-migrate.mdx deleted file mode 100644 index 255c83a4bb..0000000000 --- a/pages/secret-manager/api-cli/create-secret-path-migrate.mdx +++ /dev/null @@ -1,47 +0,0 @@ ---- -meta: - title: Creating and migrating a secret into a specific path using the CLI and Go - description: Discover how to create and migrate your secret with ease using the Scaleway CLI and Go, ensuring efficient management within specified paths. -content: - h1: Creating and migrating a secret into a specific path using the CLI and Go - paragraph: Discover how to create and migrate your secret with ease using the Scaleway CLI and Go, ensuring efficient management within specified paths. -tags: secret-management path migration secret-manager go sdk cli -categories: - - identity-and-access-management -dates: - validation: 2024-09-04 - posted: 2023-10-03 ---- - -This page shows you how to create a secret (`ultra-confidential`) and to migrate it into a path (`/confidential-path`) using the [Scaleway CLI](https://github.com/scaleway/scaleway-cli#installation) and the Go programming language. - - - -- A Scaleway account logged into the [console](https://console.scaleway.com) -- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization -- Configured the [Scaleway CLI](https://github.com/scaleway/scaleway-cli#installation) -- [Created at least one Scaleway API key](/iam/how-to/create-api-keys/) -- [Downloaded Go](https://go.dev/) - -1. Open a terminal and run the following command to clone the repository containing the code you need to complete the procedure: - - ``` - git clone git@github.com:scaleway/tutorial-sem-folder-migrate.git - ``` - -2. In the same terminal, paste the following commands to export your environment variables. Make sure you add your **own variables**. - - ``` - export SCW_ACCESS_KEY= - export SCW_SECRET_KEY= - export SCW_DEFAULT_ORGANIZATION_ID= - export SCW_DEFAULT_PROJECT_ID= - export SCW_DEFAULT_REGION="fr-par" - export SCW_API_URL="https://api.scaleway.com" - ``` -3. Use the following command to access the `tutorial-sem-folder-migrate` directory: - ``` - cd tutorial-sem-folder-migrate - ``` -4. Run `go run ./main.go` to launch the creation of your secret and the migration process. -5. Access your [Scaleway account](https://console.scaleway.com) and verify that the secret and path display in the intended Project. \ No newline at end of file diff --git a/pages/secret-manager/index.mdx b/pages/secret-manager/index.mdx index e04bc7e10f..47b4f01711 100644 --- a/pages/secret-manager/index.mdx +++ b/pages/secret-manager/index.mdx @@ -48,11 +48,6 @@ meta: ## API/CLI -