Skip to content

Commit dc3f628

Browse files
authored
Merge pull request #35 from nmmyaka/patch-1
Updated secrets manager command in doc
2 parents d4ee9d0 + 82057b1 commit dc3f628

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/patterns/single-new-eks-observability-accelerators/single-new-eks-opensource-observability.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,13 @@ export AMG_API_KEY=$(aws grafana create-workspace-api-key \
7575
5. AWS Secrets Manager for GRAFANA API KEY: Update the Grafana API key secret in AWS Secrets using the above new Grafana API key. This will be referenced by Grafana Operator deployment of our solution to access Amazon Managed Grafana from Amazon EKS Cluster
7676

7777
```bash
78-
export API_KEY_SECRET_NAME="grafana-api-key"
79-
aws secretsmanager update-secret \
80-
--secret-id $API_KEY_SECRET_NAME \
78+
aws secretsmanager create-secret \
79+
--name grafana-api-key \
80+
--description "API Key of your Grafana Instance" \
8181
--secret-string "${AMG_API_KEY}" \
82-
--region $AWS_REGION
82+
--region $AWS_REGION \
83+
--query ARN \
84+
--output text
8385
```
8486

8587
6. Install project dependencies by running `npm install` in the main folder of this cloned repository.

0 commit comments

Comments
 (0)