Skip to content
← Understanding cloud security

Lesson 2 of 4 · 9 min

Identity is the new perimeter

There is no office wall around a cloud account. The account itself — its password, its second factor, and every app you granted access to — is the perimeter now.

The previous lesson traced a line between what a cloud provider secures and what the customer must. On the customer’s side, one item does more work than any other: identity — who is allowed to sign in, and what they can then do. A traditional office network had a wall and a locked door; a cloud account has a login form, reachable from anywhere on earth, at any hour. Securing that login is most of what “security in the cloud” means in practice.

How accounts actually get taken over

Account takeover rarely involves an attacker breaking a cloud provider’s systems. It typically follows the credential-theft pattern from the threat-modelling course in this university: a password reused from a breached, unrelated service, or a convincing phishing page that simply asks for the login directly. Once an attacker has valid credentials, most cloud services have no way to distinguish them from the real account owner — which is exactly why the single control CISA highlights above all others is multi-factor authentication (MFA).

MFA, and why not all forms are equal

CISA states plainly that “users who enable MFA are significantly less likely to get hacked”, because a stolen password alone stops being enough. But CISA also ranks the available forms of MFA by how well they resist phishing, and the ranking matters: “the only widely available phishing-resistant authentication is FIDO/WebAuthn authentication” — the standard behind passkeys and hardware security keys, covered in the cryptography course. A text-message code is, in CISA’s words, still much better than no second factor, but it can be intercepted or relayed by a sufficiently motivated attacker; app-based push notifications with number matching sit in between. For a cloud account holding anything sensitive, turning on the strongest MFA option that account offers is the single highest-value step in this lesson.

OAuth: the permissions you grant to other apps

Every time you click “continue with Google” or connect a scheduling tool to your calendar, you are using OAuth, described by the standard’s own documentation as “the industry-standard protocol for authorization”. Its useful property is that the third-party app never sees your password — you log in directly with your provider, then approve a specific, limited set of permissions, called scopes, for that app. Its risk is exactly that permission grant: a scheduling app that only needs to read your calendar’s free/busy times may ask for, and be routinely granted, permission to read and send email as you. Each connected app is a standing grant of access that persists until someone revokes it, which is why the last lesson in this course covers reviewing that list, not just setting it up correctly once.

Leaked keys: OAuth’s less visible cousin

Automated tools and integrations often authenticate with an API key rather than a human login — a long string that functions like a password but is not typed by a person and often is not protected by MFA at all. These keys end up exposed more often than most people expect: pasted into a support ticket, committed accidentally to a code repository, left in a configuration file shared more broadly than intended. Treating an API key with the same caution as a password — never sharing it in plain text, rotating it if it may have been exposed, and limiting what it is allowed to do — closes a gap that MFA, built for human logins, does not cover.

Identity riskWhat weakens it
A reused or phished passwordA unique password per service, plus MFA — ideally a phishing-resistant method (passkey or security key)
An over-permissioned third-party app connected via OAuthReviewing connected apps periodically and revoking ones no longer used or needed
A leaked API key or automation credentialTreating keys like passwords: never shared in plain text, rotated after any possible exposure, scoped narrowly

Key takeaways

  • With no physical perimeter around a cloud account, identity — the login and its protections — functions as the security boundary.
  • Most account takeovers exploit reused or phished passwords, not a flaw in the provider’s own systems.
  • CISA ranks FIDO/WebAuthn (passkeys, security keys) as the most phishing-resistant widely available MFA; any MFA beats none.
  • OAuth lets third-party apps access your account without seeing your password, but each granted permission (scope) persists until you revoke it.
  • API keys and automation credentials deserve the same caution as passwords: they are often less protected and just as capable of granting access.

Check yourself

  1. 1. Why does CISA consider FIDO/WebAuthn authentication (passkeys, security keys) stronger than SMS-based codes?

    • It is the only method that works on phones
    • It is described as the only widely available phishing-resistant authentication method — Right.
    • SMS codes are always free while FIDO requires payment
    • FIDO does not require an internet connection

    CISA specifically names FIDO/WebAuthn as phishing-resistant, unlike SMS codes, which can be intercepted or relayed by an attacker.

  2. 2. What does OAuth actually share with a third-party app you connect to your account?

    • Your account password
    • A limited access token corresponding to specific permissions (scopes) you approved — Right.
    • Nothing at all; OAuth blocks all data sharing
    • Full administrative control over your account by default

    OAuth is designed so the app never receives your password, only a token limited to the scopes you approved — though those scopes can still be broader than the app strictly needs.

  3. 3. Why do leaked API keys deserve the same caution as leaked passwords?

    • API keys expire automatically after one use
    • They can grant access to an account or service and are often not protected by MFA at all — Right.
    • API keys are only used for cosmetic settings
    • Cloud providers cannot detect API key misuse

    API keys authenticate automated access much like a password authenticates a person, but they frequently lack the additional protection MFA provides for human logins.

Do it with FireAI

Put this lesson into practice on your own Mac.

Sources

Put it into practice on your Mac

Try every feature free for 17 days, no card needed.

Download for Mac Docs