mirror of
https://github.com/google/nomulus
synced 2026-08-15 19:56:08 +00:00
Store encrypted file in Base64 encoding
It is better to store it ASCII armored so that it can be easily diffed to see if a file has changed ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=200045488
This commit is contained in:
+2
-2
@@ -176,8 +176,8 @@ created earlier:
|
||||
|
||||
```bash
|
||||
$ gcloud kms encrypt --plaintext-file <combined_secret.pem> \
|
||||
--ciphertext-file <combined_secret.pem.enc> \
|
||||
--key <key-name> --keyring <keyring-name> --location global
|
||||
--ciphertext-file - --key <key-name> --keyring <keyring-name> --location \
|
||||
global | base64 > <combined_secret.pem.enc>
|
||||
```
|
||||
|
||||
This encrypted file is then uploaded to a GCS bucket specified in the
|
||||
|
||||
Reference in New Issue
Block a user