You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scw secret version create "$SECRET_ID" data="@ssec.key"
56
+
```
40
57
41
58
## Preparing the encryption key and its digest
42
59
43
60
Run the following command to access the secret version to get the encryption key, encode it to base64, calculate the MD5 digest of the key (also encoded in base64), and store the outputs in environment variables.
44
61
45
-
```bash
46
-
scw secret version access "$SECRET_ID" revision=latest raw=true > ssec.key
If you delete the secret containing the encryption key, you also lose the data encrypted with it, as you will not be able to perform `GET` operations on encrypted objects without the corresponding key.
0 commit comments