access key
A long-lived cloud credential made of a key ID and a secret key that works until someone deletes it.
A leaked key keeps working for anyone who holds it until someone disables it.
In more detail
Stored as a CI secret it is still a password with no expiry: every job that can read it can spend it, and a leak may go unnoticed for months. Keyless authentication with OpenID Connect replaces it with credentials that expire in minutes.
Examples
In AWS: A long-lived pair, an access key ID and a secret access key, that lets a program call AWS as an IAM user.aws iam list-access-keys --user-name analyst --query 'AccessKeyMetadata[].[AccessKeyId,Status,CreateDate]'Related terms
- temporary security credentials — Cloud credentials that expire on their own after minutes or hours, issued when a role is assumed.
- credential rotation — Replacing a secret, such as an access key or password, with a new one and retiring the old one.
- IAM user — A named, long-lived identity in an AWS account, with an optional console password and optional access keys.
- secret — Any value that grants access, such as a password, access token or private key, and must be kept out of code and version control.
- OpenID Connect — An identity layer on top of OAuth 2.0 that tells an application who signed in, using a signed ID token.
- key rotation — Replacing a password or key with a new one on a schedule or after a suspected leak, and re-encrypting what it protected.
- workload identity — An identity for software rather than a person, proven by a signed token from the platform it runs on instead of a stored key.
- secret scanning — Searching code, commits and files for credentials such as keys and tokens, ideally before they are committed.
Taught in
- EventBridge Rules: The Rule That Matched Nothing — AWS Certified DevOps Engineer – Professional (DOP-C02) Exam Prep
- Security Hub, GuardDuty And Inspector: Signal, Noise And Response — AWS Certified DevOps Engineer – Professional (DOP-C02) Exam Prep
- Auditing: Who Opened Port Twenty Two? — AWS Certified DevOps Engineer – Professional (DOP-C02) Exam Prep
- Long-Stem Clinic: When Two Answers Both Work — AWS Certified DevOps Engineer – Professional (DOP-C02) Exam Prep
- The Full Mock And Your Review Plan — AWS Certified DevOps Engineer – Professional (DOP-C02) Exam Prep
- Securing Pipelines: Secrets Management — Continuous Integration & Continuous Delivery Pipelines
- Keyless Authentication: OIDC to the Cloud — Continuous Integration & Continuous Delivery Pipelines
- IAM as the Foundation — Cloud Infrastructure & Hyperscaler Architecture
- Users, Groups and Roles — Cloud Infrastructure & Hyperscaler Architecture
- The Danger of Long-Lived Keys — Cloud Infrastructure & Hyperscaler Architecture
- Policy Simulation and Dry Runs — Cloud Infrastructure & Hyperscaler Architecture
- Elastic Compute Cloud (EC2) — Cloud Infrastructure & Hyperscaler Architecture
- Containers on AWS (ECS and EKS) — Cloud Infrastructure & Hyperscaler Architecture
- Shared Responsibility Model & Cloud Threat Landscapes — Cloud Security & DevSecOps Engineering
- AWS Organizations, Account Hierarchies & Azure Management Groups — Cloud Security & DevSecOps Engineering
- Cloud Network Isolation: VPC Peering & PrivateLink — Cloud Security & DevSecOps Engineering
- Cloud IAM Architecture & Permission Boundaries — Cloud Security & DevSecOps Engineering
- Workload Identity Federation: Eliminating Static Keys — Cloud Security & DevSecOps Engineering
- Cross-Account AssumeRole Chains & Temporary STS — Cloud Security & DevSecOps Engineering
- Threat Detection with GuardDuty & Anomaly Analytics — Cloud Security & DevSecOps Engineering
- Workload Identity — Application Security & Threat Modeling for Engineers
- Secret Scanning — Application Security & Threat Modeling for Engineers
- Collaboration And Governance: Teams, Policies, Registry And Health — HashiCorp Terraform Associate (004) Exam Prep