mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
chore: aws secretsmanager commands examples
This commit is contained in:
@@ -28,8 +28,23 @@ aws sagemaker list-endpoint-configs --output 'json' --query 'EndpointConfigs[].E
|
||||
|
||||
# Describe all SageMaker EndpointConfigurations.
|
||||
aws sagemaker list-endpoint-configs … | xargs -n '1' aws sagemaker describe-endpoint-config --endpoint-config-name
|
||||
|
||||
|
||||
# List secrets stored in Secret Manager.
|
||||
aws secretsmanager list-secrets
|
||||
|
||||
# Get information about secrets stored in Secret Manager.
|
||||
aws secretsmanager describe-secret --secret-id 'ecr-pullthroughcache/docker-hub'
|
||||
|
||||
# Get secrets from Secret Manager.
|
||||
aws secretsmanager get-secret-value --secret-id 'ecr-pullthroughcache/github'
|
||||
```
|
||||
|
||||
Non listed subcommand:
|
||||
|
||||
- [`aws ecr`][ecr tldr]
|
||||
- [`aws s3`][s3 tldr]
|
||||
|
||||
## Profiles
|
||||
|
||||
```sh
|
||||
@@ -54,6 +69,7 @@ $ export AWS_PROFILE="work"
|
||||
|
||||
## Further readings
|
||||
|
||||
- [AWS]
|
||||
- CLI [quickstart]
|
||||
- [Configure profiles] in the CLI
|
||||
|
||||
@@ -61,6 +77,11 @@ $ export AWS_PROFILE="work"
|
||||
References
|
||||
-->
|
||||
|
||||
<!-- Knowledge base -->
|
||||
[aws]: README.md
|
||||
[ecr tldr]: ecr.md#tldr
|
||||
[s3 tldr]: s3.md#tldr
|
||||
|
||||
<!-- Upstream -->
|
||||
[quickstart]: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-quickstart.html
|
||||
[configure profiles]: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-profiles.html
|
||||
|
||||
Reference in New Issue
Block a user