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
2022/02/09 16:32:04 File /iac/solution1/secret.enc.yaml synced with new keys
258
-
258
+
259
259
Encrypting using GCP KMS
260
260
~~~~~~~~~~~~~~~~~~~~~~~~
261
261
GCP KMS uses `Application Default Credentials
@@ -418,7 +418,7 @@ Encrypting using Hashicorp Vault
418
418
419
419
We assume you have an instance (or more) of Vault running and you have privileged access to it. For instructions on how to deploy a secure instance of Vault, refer to Hashicorp's official documentation.
420
420
421
-
To easily deploy Vault locally: (DO NOT DO THIS FOR PRODUCTION!!!)
421
+
To easily deploy Vault locally: (DO NOT DO THIS FOR PRODUCTION!!!)
422
422
423
423
.. code:: sh
424
424
@@ -428,11 +428,11 @@ To easily deploy Vault locally: (DO NOT DO THIS FOR PRODUCTION!!!)
428
428
.. code:: sh
429
429
430
430
$ # Substitute this with the address Vault is running on
431
-
$ export VAULT_ADDR=http://127.0.0.1:8200
431
+
$ export VAULT_ADDR=http://127.0.0.1:8200
432
432
433
433
$ # this may not be necessary in case you previously used `vault login` for production use
434
-
$ export VAULT_TOKEN=toor
435
-
434
+
$ export VAULT_TOKEN=toor
435
+
436
436
$ # to check if Vault started and is configured correctly
437
437
$ vault status
438
438
Key Value
@@ -471,7 +471,62 @@ To easily deploy Vault locally: (DO NOT DO THIS FOR PRODUCTION!!!)
# you can grab the endpoint from the vault page on the portal, it should be something like: https://asdadsasdagz5aacmg-management.kms.<region>.oraclecloud.com
returncommon.NewExitError(fmt.Sprintf("Error: cannot add or remove keys on non-existent file %q, use the `edit` subcommand instead.", fileName), codes.CannotChangeKeysFromNonExistentFile)
1098
1099
}
1099
1100
}
@@ -1554,6 +1555,11 @@ func main() {
1554
1555
Usage: "comma separated list of age recipients",
1555
1556
EnvVar: "SOPS_AGE_RECIPIENTS",
1556
1557
},
1558
+
cli.StringFlag{
1559
+
Name: "oci-kms",
1560
+
Usage: "comma separated list of OCI KMS OCIDs",
1561
+
EnvVar: "SOPS_OCI_KMS_OCIDS",
1562
+
},
1557
1563
cli.BoolFlag{
1558
1564
Name: "in-place, i",
1559
1565
Usage: "write output back to the same file instead of stdout",
@@ -1614,6 +1620,14 @@ func main() {
1614
1620
Name: "rm-age",
1615
1621
Usage: "remove the provided comma-separated list of age recipients from the list of master keys on the given file",
1616
1622
},
1623
+
cli.StringFlag{
1624
+
Name: "add-oci-kms",
1625
+
Usage: "add the provided comma-separated list of OCI KMS keys OCIDs to the list of master keys on the given file",
1626
+
},
1627
+
cli.StringFlag{
1628
+
Name: "rm-oci-kms",
1629
+
Usage: "remove the provided comma-separated list of OCI KMS keys OCIDs from the list of master keys on the given file",
1630
+
},
1617
1631
cli.StringFlag{
1618
1632
Name: "add-pgp",
1619
1633
Usage: "add the provided comma-separated list of PGP fingerprints to the list of master keys on the given file",
0 commit comments