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
@@ -1220,8 +1219,9 @@ all files under ``gcs/*`` into the GCS bucket ``sops-secrets``, the contents of
1220
1219
``vault/*`` into Vault's KV store under the path ``secrets/sops/``, files under ``aws-secrets/*``
1221
1220
into AWS Secrets Manager as JSON secrets, and files under ``aws-params/*`` into AWS Parameter Store
1222
1221
as SecureString parameters. For the files that will be published to S3 and GCS, it will decrypt them
1223
-
and re-encrypt them using the ``F69E4901EDBAD2D1753F8C67A64535C4163FB307`` pgp key. Files published to Vault,
1224
-
AWS Secrets Manager, and AWS Parameter Store will be decrypted and stored as plaintext JSON data.
1222
+
and re-encrypt them using the ``F69E4901EDBAD2D1753F8C67A64535C4163FB307`` pgp key. Files published to Vault
1223
+
will be decrypted and stored as plaintext JSON data. Files published to AWS Secrets Manager and AWS Parameter Store
1224
+
will be decrypted and stored as JSON data encrypted by AWS KMS.
1225
1225
1226
1226
You would deploy a file to S3 with a command like: ``sops publish s3/app.yaml``
1227
1227
@@ -1319,22 +1319,23 @@ Publishing to AWS Parameter Store
1319
1319
**********************************
1320
1320
1321
1321
AWS Systems Manager Parameter Store provides secure, hierarchical storage for configuration data
1322
-
and secrets management. SOPS can publish decrypted data directly to Parameter Store as JSON parameters.
1322
+
and secrets management. SOPS can publish decrypted data directly to Parameter Store as JSON parameters encrypted by AWS KMS.
1323
1323
1324
1324
There are a few settings for AWS Parameter Store that you can place in your destination rules:
1325
1325
1326
1326
* ``aws_parameter_store_path`` - The parameter path in AWS Parameter Store. If it ends with ``/``, the filename will be appended. If not specified, the filename will be used as the parameter name with a leading ``/``.
1327
-
* ``aws_parameter_store_type`` - The parameter type. Can be ``String``, ``StringList``, or ``SecureString``. Defaults to ``SecureString``.
1328
1327
* ``aws_region`` - The AWS region where the parameter should be stored. This is required.
1329
1328
1329
+
All parameters are stored as ``SecureString`` type for security, since SOPS files may contain sensitive data.
1330
+
1330
1331
SOPS uses the AWS SDK for Go v2, which automatically uses your configured AWS credentials from the AWS CLI,
1331
1332
environment variables, or IAM roles.
1332
1333
1333
1334
If the destination parameter already exists in AWS Parameter Store and contains the same data as the source
1334
1335
file, it will be skipped to avoid creating unnecessary versions.
1335
1336
1336
1337
Note: Recreation rules (re-encryption with different keys) are not supported for AWS Parameter Store.
1337
-
The data is decrypted from the source file and stored as JSON in the parameter.
1338
+
The data is decrypted from the source file and stored as JSON in the SecureString parameter, encrypted by AWS KMS.
1338
1339
1339
1340
Below is an example of publishing to AWS Parameter Store:
0 commit comments