Use AWS Secrets Manager to find the cluster secret
- AWS Management Console
-
-
Navigate to the Secrets Manager console
. -
Choose Secrets, then search for the
pcs!
prefix.
Note
A AWS PCS cluster secret has a name in the form
pcs!slurm-secret-
wherecluster-id
is the AWS PCS cluster ID.cluster-id
-
- AWS CLI
-
Each AWS PCS cluster secret is also tagged with
aws:pcs:
. You can get the secret ID for a cluster with the command that follows. Make these substitutions before running the command:cluster-id
-
Replace
with the AWS Region to create your cluster in, such asregion
us-east-1
. -
Replace
with the ID of the AWS PCS cluster to find the cluster secret for.cluster-id
aws secretsmanager list-secrets \ --region
region
\ --filters Key=tag-key,Values=aws:pcs:cluster-id
\ Key=tag-value,Values=cluster-id
-
Cluster secrets
Use AWS PCS to find the cluster
secret