Skip to content

Commit f424f9a

Browse files
committed
fix(tutorial): change command in sse-c tutorial
1 parent 188a8b7 commit f424f9a

File tree

1 file changed

+2
-2
lines changed
  • tutorials/object-storage-sse-c-with-secret-manager

1 file changed

+2
-2
lines changed

tutorials/object-storage-sse-c-with-secret-manager/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ With the following commands, you will create a key in the Key Manager, generate
3333

3434
```bash
3535
KEY_ID=$(scw keymanager key create -o template="{{.ID}}")
36-
DATA_KEY=$(scw keymanager key generate-data-key "$KEY_ID" -o json | jq -r .plaintext | base64 -d)
36+
scw keymanager key generate-data-key "$KEY_ID" -o json | jq -r .plaintext | base64 -d > ssec.key
3737
SECRET_ID=$(scw secret secret create name=ssec-key path=/keys -o template="{{.ID}}")
38-
scw secret version create "$SECRET_ID" data="$DATA_KEY"
38+
scw secret version create "$SECRET_ID" data="@ssec.key"
3939
```
4040

4141
### Encryption key and digest preparation

0 commit comments

Comments
 (0)