Glossary

    Access Key

    Identity & Access

    An Access Key consists of two parts: an access key ID (starts with AKIA) and a secret access key. Together they authenticate programmatic requests to AWS APIs - CLI commands, SDK calls, and HTTP requests.

    Access keys are long-term credentials that do not expire unless explicitly deactivated or deleted. This makes them a significant security risk: if leaked (in a Git commit, a log file, or a misconfigured server), an attacker has persistent access until the key is revoked.

    Security Best Practices

    • Use IAM roles with temporary credentials instead of access keys wherever possible
    • Never embed access keys in application code or commit them to version control
    • Rotate keys regularly (90 days maximum per CIS benchmark)
    • Use aws:SecureTransport condition to require HTTPS
    • Monitor for unused or old keys with IAM Credential Reports and Access Advisor

    Related AWS Services

    Toc Consulting: AWS Security & Cloud Architecture

    Securing your AWS estate?

    Our team helps engineering teams secure and architect AWS the right way: assessment in week one, a prioritized action plan in week two.