ASD ISM 2141 Prefer short-lived dynamically issued credentials for applications and workloads
What it says
Applications and workloads use short-lived dynamically issued credentials in preference to long-lived static credentials.
Quoted as published. Everything else on this page is written by Control Stack.
In plain English
Prefer short-lived credentials issued on demand over long-lived static ones for every application and workload, keeping static credentials as the fallback.
Applications and workloads must favour credentials that are short-lived and dynamically issued over long-lived static ones. Workloads include containers, virtual machines and scheduled jobs. A dynamically issued credential is created on request by an identity service or secrets management solution and expires without anyone acting. A static credential, such as a password, API key or client secret, is stored and reused, even if it has an expiry date. Static ones stay allowed as the fallback. The control sets no lifetime, so the organisation decides what counts as short-lived.
Free. Save your status, tasks and notes.
Why it matters
A static key copied from code, a configuration file or a build log keeps working until someone notices and changes it, giving malicious actors lasting access. A credential that expires on its own limits how long a stolen copy stays useful.
How to implement
List the credentials each application and workload uses.
Cover passwords, API keys, client secrets, access keys, tokens and certificates in every environment. Search code repositories, configuration files, pipeline variables, the secrets management solution and cloud identity settings, and record for each whether it is static or issued on demand, and how long it stays valid.
Use the platform's workload identity wherever one exists.
Cloud platforms, container orchestrators and many build pipelines can give a workload its own identity and issue it tokens that expire automatically, with no key to store. Connect each application to it, grant the identity only what the application needs, and revoke the old static key once nothing uses it (ISM-2146).
Issue other credentials on demand from a secrets management solution.
Where a target like a database has no workload identity support, have the solution create a credential when the workload asks and remove it when its lease ends, or issue short-lived certificates from an internal certificate authority. Set and record a maximum lifetime, kept to what each task needs.
Record why each remaining static credential is still needed.
Some bought products and older systems accept only a fixed key or password. Note the reason, ask the vendor about token-based or federated sign-in, and keep the credential in a secrets management solution (ISM-2142) and unique to its application and environment (ISM-2143) until a dynamic option exists.
Keep it running
Make dynamically issued credentials the default in deployment templates and pipelines for new applications, so static keys do not creep back. Recheck remaining static credentials when a platform or vendor adds identity or token support.
Evidence and audit
- Check 1 of 3What an auditor asks for
Ask for
The credential inventory for applications and workloads, with an independent secret scan of code, configuration and pipeline variables and the cloud platforms' own lists of access keys and client secrets.
Look at
Static credentials found independently but missing from the inventory, and whether each static credential has a stated reason.
Good evidence
Every static credential found independently is in the inventory, and each has a stated reason why no dynamically issued option is used.
- Check 2 of 3What an auditor asks for
Ask for
A sample of static credentials recorded as having no dynamic alternative, with the platform, product or target system documentation.
Look at
Whether the target actually supports workload identities, token federation or credentials issued on demand for that use, and whether the application or workload holding the credential could use them.
Good evidence
For every sampled static credential, the target genuinely offers no dynamically issued option for that use, or the application or workload holding it genuinely cannot use one.
- Check 3 of 3What an auditor asks for
Ask for
The configured lifetime of a sample of dynamically issued credentials, and a test that presents one after it expires.
Look at
How long each stays valid, whether the target rejects an expired one, and whether the workload renews without anyone acting.
Good evidence
The target rejects the expired credential, the workload obtains a new one without anyone acting, and each sampled lifetime is within the limit the organisation has set for short-lived credentials.
Mappings
Closest match in ISO/IEC 27001: A.5.17, Authentication information, which this control partially meets.
ISO/IEC 27001: 1 mapping
This control partially meets A.5.17.
ISM-2141 requires applications and workloads to prefer short-lived, dynamically issued credentials over long-lived static secrets. This relates directly to Annex A 5.17 because managing authentication information includes controlling how credentials are issued, rotated, protected and retired, which can be satisfied by adopting ephemeral, on-demand credentials. Annex A 5.17 is broader, covering all authentication information management (including user guidance and handling processes), whereas ISM-2141 is a specific design choice for non-human credentials in applications/workloads.
Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.




