Frequently asked questions about cluster secret rotation in AWS PCS
Find answers to common questions about cluster secret rotation in AWS PCS.
- What is a cluster secret?
-
A cluster secret is a secure credential that enables secure communications between the Slurm controller and AWS PCS compute nodes. It also serves as the JSON Web Token (JWT) key for Slurm REST API authentication.
- What's the difference between cluster secret and JWT key?
-
In AWS PCS, the cluster secret and JWT key are the same resource serving different purposes. The cluster secret authenticates Slurm internal communications, while the JWT key signs tokens for REST API authentication. When rotated, both aspects are affected simultaneously.
- How long does rotation take?
-
The rotation process typically takes a few minutes. Your cluster remains in ACTIVE state and billing continues normally during rotation.
- Can I schedule automatic rotations?
-
You can enable scheduled rotation in Secrets Manager. However, the initial release requires manual preparation (scaling node groups to 0) before each rotation.
- Will my existing JWT tokens still work after rotation?
-
No, existing JWT tokens become invalid after rotation. Issue new tokens for REST API clients.
- Where can I find my cluster secret?
-
You can find your cluster secret in the Secrets Manager console or through the AWS PCS console. For detailed instructions, see Use AWS Secrets Manager to find the cluster secret and Use AWS PCS to find the cluster secret.
- Why does rotation require scaling node groups to 0?
-
Rotation requires no running instances to ensure cluster stability during the secret update process. This prevents authentication conflicts between old and new secrets.
- What compliance requirements does this feature support?
-
This feature enables AWS PCS to meet industry compliance standards including HIPAA and FedRAMP, which mandate regular credential rotation as part of their security controls.