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
Copy file name to clipboardexpand all lines: README.md
+5-13
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,8 @@ The macOS release is code-signed, and you can verify this with `codesign`:
26
26
27
27
## Usage
28
28
29
+
See the [USAGE](./USAGE.md) document for more help and tips.
30
+
29
31
```bash
30
32
# Store AWS credentials for the "home" profile
31
33
$ aws-vault add home
@@ -37,17 +39,8 @@ $ aws-vault exec home -- aws s3 ls
37
39
bucket_1
38
40
bucket_2
39
41
40
-
# store credentials for the "work" profile
41
-
$ aws-vault add work
42
-
Enter Access Key Id: ABDCDEFDASDASF
43
-
Enter Secret Key: %
44
-
45
-
# Execute a command using temporary credentials
46
-
$ aws-vault exec work -- aws s3 ls
47
-
another_bucket
48
-
49
42
# Inspect the environment
50
-
$ aws-vault execwork -- env | grep AWS
43
+
$ aws-vault exechome -- env | grep AWS
51
44
AWS_VAULT=work
52
45
AWS_DEFAULT_REGION=us-east-1
53
46
AWS_REGION=us-east-1
@@ -59,10 +52,9 @@ AWS_SECURITY_TOKEN=%%%
59
52
60
53
### Backends
61
54
62
-
You can choose different secret storage backends, which may be particularly useful on Linux.
63
-
By default, Linux uses an encrypted file. You can use your system keyring by choosing the secret-service backend which [abstracts over Gnome/KDE](https://specifications.freedesktop.org/secret-service/).
55
+
You can choose among different pluggable secret storage backends. By default, Linux uses an encrypted file. You can use your system keyring by choosing the secret-service backend which [abstracts over Gnome/KDE](https://specifications.freedesktop.org/secret-service/).
64
56
65
-
AWS_VAULT_BACKEND=secret-service
57
+
See the [USAGE](./USAGE.md) document for more help and tips.
The exec helps reduce the number of processes that are hanging around. The `$@` passes on the arguments from the wrapper to the original command.
44
+
45
+
46
+
## Backends
47
+
48
+
You can choose different secret storage backends, which may be particularly useful on Linux, where you may prefer to use the system keyring with this environment variable:
0 commit comments