From b94662f50d3b1f682836262f723fc0be218e0102 Mon Sep 17 00:00:00 2001 From: Mikael Peigney Date: Thu, 16 Oct 2025 11:22:42 +0200 Subject: [PATCH] doc(iam_api_key): add a warning about importing secret_key --- docs/resources/iam_api_key.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/resources/iam_api_key.md b/docs/resources/iam_api_key.md index ab60901be6..38db0b9bc2 100644 --- a/docs/resources/iam_api_key.md +++ b/docs/resources/iam_api_key.md @@ -79,3 +79,5 @@ Api keys can be imported using the `{id}`, e.g. ```bash terraform import scaleway_iam_api_key.main 11111111111111111111 ``` + +~> **Warning**: While an `iam_api_key` can be imported, its `secret_key` is a secret that is not exposed. An imported API key will have `null` as its secret key. \ No newline at end of file