Skip to content

Commit 7846669

Browse files
committed
docs(add): copy from latest version info
1 parent 2b4dbf9 commit 7846669

File tree

2 files changed

+26
-11
lines changed

2 files changed

+26
-11
lines changed

identity-and-access-management/secret-manager/how-to/create-version.mdx

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ content:
77
paragraph: Learn how to seamlessly add versions to your secrets using Scaleway's Secret Manager. Follow these straightforward steps to expand and manage your secret versions efficiently.
88
tags: sensitive-data storage-system version secret-type
99
dates:
10-
validation: 2024-07-10
10+
validation: 2024-11-14
1111
posted: 2023-02-21
1212
categories:
1313
- identity-and-access-management
@@ -29,11 +29,20 @@ This page explains how to add more [versions](/identity-and-access-management/se
2929
3. Access the secret that you want to add a version to. Your secret's **Overview** tab displays.
3030
4. Click the **Versions** tab.
3131
5. Click **+ Create version**. A pop-up displays.
32-
6. Add your version manually or import it from a file.
33-
<Message type="note">
34-
By default, all your secret versions have the same type as the secret they belong to. You cannot change the type after you have created the secret.
32+
6. Add your version:
33+
34+
- manually
35+
- import it from a file
36+
- or click **Copy from latest version** to restore your latest enabled version
37+
38+
7. Optionally, if you have selected **Copy from latest version** and applied the **Single access** ephemeral policy to your secret, click **Copy from latest version** to acknowledge the information displayed in the yellow banner, and confirm.
39+
<Message type="important">
40+
- Restoring a former version of a secret where you have applied the **Single access** ephemeral policy counts as an access, meaning it will then be disabled and/or deleted depending on the policies applied.
41+
- By default, all your secret versions have the same type as the secret they belong to. You cannot change the type after you have created the secret.
3542
</Message>
36-
7. Click the <Icon name="toggle" /> icon if you want to [enable](/identity-and-access-management/secret-manager/concepts/#enabling-a-version) the version.
37-
8. Click **Create version**.
43+
44+
8. Click the <Icon name="toggle" /> icon if you want to [enable](/identity-and-access-management/secret-manager/concepts/#enabling-a-version) the version.
45+
9. Click **Create version**.
46+
3847

3948

identity-and-access-management/secret-manager/quickstart.mdx

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,16 @@ In this quickstart, we show you how to create a [secret](/identity-and-access-ma
5454

5555
1. Click your secret's **Versions** tab.
5656
2. Click **+ Create version**. A pop-up displays.
57-
3. Add your version manually or import it from a file.
58-
<Message type="note">
59-
By default, all your secret versions have the same type as the secret they belong to. You cannot change the type after you have created the secret.
60-
</Message>
61-
4. Enter or upload the new values.
57+
3. Add your version:
58+
59+
- manually
60+
- import it from a file
61+
- or click **Copy from latest version** to restore your latest enabled version
62+
63+
4. Optionally, if you have selected **Copy from latest version** and applied the **Single access** ephemeral policy to your secret, click **Copy from latest version** to acknowledge the information displayed in the yellow banner, and confirm.
64+
<Message type="important">
65+
- Restoring a former version of a secret where you have applied the **Single access** ephemeral policy counts as an access, meaning it will then be disabled and/or deleted depending on the policies applied.
66+
- By default, all your secret versions have the same type as the secret they belong to. You cannot change the type after you have created the secret.
67+
</Message>
6268
5. Click the <Icon name="toggle" /> icon if you want to [enable](/identity-and-access-management/secret-manager/concepts/#enabling-a-version) the version.
6369
6. Click **Create version**. Your secret versions display.

0 commit comments

Comments
 (0)