Share resources securely with a third party
Framework question: How do you manage permissions for people and machines?
- Risk if not established
- Medium
- Framework verified
- 23 Oct 2026
AWS Well-Architected Framework — SEC03-BP09 Share resources securely with a third party
Executive summary
Why this practice matters
When a third party needs access to your cloud environment, give it through roles with temporary credentials and an external identifier rather than long-term keys. Keep the access narrow, check how the provider handles it, review it regularly and be ready to revoke it.
Business impact
- Reduces the risk of long-term keys leaking from suppliers.
- Protects against a provider being tricked into acting on your account for someone else.
- Limits what a third party can reach to what the service needs.
- Lets you withdraw access quickly if the relationship or risk changes.
Assign
Accountable and responsible roles
Responsibilities are held separately from roles, so accountability type and typical roles are stated explicitly.
| Responsibility | Accountability type | Typical roles |
|---|---|---|
Set third-party access standards Set the standards for third-party access: role design, external IDs and provider due diligence. Typical roles: Security Architect, Security Architect | responsible | Security ArchitectSecurity Architect |
Provision, monitor and revoke access Create and monitor the roles, review access and revoke it when no longer needed. Typical roles: Security Engineer, Cloud / Platform Engineer, Security Engineer, Cloud Platform Engineer | responsible | Security EngineerCloud / Platform EngineerSecurity Engineer, Cloud Platform Engineer |
Confirm the business need Service owners confirm the business need and take part in reviewing the provider's service. Typical roles: Service Owner, Service Owner, Vendor Manager | consulted | Service OwnerService Owner, Vendor Manager |
Assessment
Assessment and evidence state
States describe how far the practice has moved from intent to something continuously validated.
- 0
Not Assessed
Third-party access has not been reviewed.
Indicators
- Third-party access not listed.
- 1
Not Implemented
Third parties use long-term keys or broad default access.
Indicators
- Long-term keys shared with suppliers.
- Default trust policies.
- 2
Partially Implemented
Some third parties use roles, but identifiers are missing or reused, or policies are broad.
Indicators
- Some roles in use.
- External IDs reused or missing.
- 3
Implemented
Third parties use scoped cross-account roles with unique external IDs, and providers are assessed.
Indicators
- Cross-account roles with unique external IDs.
- Due diligence recorded.
- 4
Continuously Validated
Third-party access is reviewed regularly, drift is detected and revocation has been rehearsed.
Indicators
- Drift detected on role templates.
- Revocation tested and timed.
Assessment dimensions
Credential type
Practice-specificLong-term keys · Mixed · Roles and temporary credentials
External identifier
Practice-specificNone · Shared or reused · Unique per third party
Role scope
Practice-specificBroad · Partly scoped · Least privilege
Review and revocation
Practice-specificNone · Occasional · Regular and rehearsed
Caution
A role with an external ID can still be too broad. Check the policy attached to the role, whether identifiers are unique per third party, and whether anyone has ever tested revoking access.
Standard
What you should be able to demonstrate
Statements a reviewer should be able to confirm from evidence, not from intent.
- Third-party access uses cross-account roles, not user keys.
- Each third party has a unique external identifier that you control.
- Policies follow least privilege and are set up from the provider's template or documented policy.
- Provider due diligence is done and access is reviewed periodically.
- Access is removed when the third party no longer needs it.
Trade-offs to hold in view
- Roles and external IDs take more set-up than handing over a key, and some providers resist; prioritise by risk.
- Tight policies may need iteration with the provider.
- Due diligence and reviews take time, so scale the effort to the sensitivity of the access.
Assess
Questions to ask
Each question exposes the difference between an intention and an operating practice.
- discovery
Which third parties have access to our environment, and how do they authenticate?
Reveals the scale of external access and the credential types in use.
Usually asked by: Security Engineer, Service Owner
- challenge
Does any third party still use long-term keys or a default trust policy?
Finds the highest-risk arrangements.
Usually asked by: Security Architect, Cloud / Platform Engineer
- evidence
Show the role, external ID and scope for one third party, and the date of the last review.
Proves the arrangement is controlled and reviewed.
Usually asked by: Security Engineer, Security Operations / Incident Response
- executive
How quickly could we cut off a supplier's access if they were compromised?
Frames third-party access as supply chain risk.
Usually asked by: Security Leader, Risk / Compliance / Governance
Evidence
Required and expected evidence
Reusable evidence definitions held once in the evidence library and referenced by every practice that relies on them. Each links to what good evidence looks like and to worked examples.
Access Analysis & Resource Sharing Register
A register of access analysis results and sharing arrangements: unused identities and permissions, public and cross-account findings, resources shared within the organisation, and access granted to third parties, each with its justification, owner and review status.
Use the Access Analysis & Resource Sharing Register for third-party access, external IDs and review dates.
Minimum expected content
- Accounts and identities covered by analysis, and any that are not
- Tools and sources used to find unused, public and cross-account access
- Policy for how long access can go unused before it is reviewed or removed
- Unused identities, credentials or permissions found and the action taken
- Public and cross-account findings with justification, approver and status
- Inventory of resources shared within the organisation and the sharing mechanism
- Baseline stating what must and must not be shared
- Third parties with access, the role or credential used, scope and last review date
- Whether external identifiers and temporary credentials are used for third-party access
- Alerting arrangements and date of the most recent review
Anti-patterns
- No inventory of shared resources
- No approval process for public or cross-account access
- No continuous monitoring or alerting for unexpected external sharing
- Permission policies kept after they are no longer needed
- Default trust policies or long-term credentials used for third parties
- Third-party identifiers reused across customers or tenants
Review: Review findings continuously through alerting and formally at a regular interval set by risk, and after organisation or supplier changes.
Credential & Secrets Inventory
A current inventory of the long-term credentials and secrets a workload or organisation relies on: what each is, what uses it, where it is stored, who owns it, whether it rotates, when it was last rotated and audited, and why a temporary alternative isn't used.
Use the Credential & Secrets Inventory to find and justify any long-term credentials given to third parties.
Minimum expected content
- Scope: workloads, accounts and environments covered
- Each long-term credential or secret: type (access key, password, API token, certificate, etc.) and purpose
- Consuming identity or system
- Storage location (secrets service, parameter store, other)
- Owner
- Rotation method (automatic/manual), interval, and last rotation date
- Last audit or access-review date
- Justification where a temporary credential is not used, and the planned replacement
- Detection of secrets in code repositories or artefacts
- Exceptions with owner and expiry
Anti-patterns
- Access keys for machines where roles could be used
- Secrets in source code, environment files or wikis
- A spreadsheet nobody reconciles
- Rotation 'planned' but never done
- Credentials shared between people or systems
- No owner for service credentials
Review: Reconcile at least quarterly against real configuration, and immediately after any suspected credential exposure.
Standard Security Control Baseline / IaC Template
Version-controlled, reusable security-control definitions and infrastructure-as-code templates that deploy approved baseline controls consistently across workloads, accounts or environments, with automated tests and guardrails.
Use the Standard Security Control Baseline to show role templates are deployed consistently and checked for drift.
Minimum expected content
- Baseline/control package identity, version and owner
- Security control objectives implemented by the baseline
- Infrastructure-as-code, policy-as-code or configuration definitions
- Intended deployment scope/accounts/environments/workload classes
- Required inputs and permitted configuration variation
- Automated unit/static/policy/security tests
- Deployment pipeline and approval/change controls
- Guardrails preventing or detecting unsafe configuration
- Self-service consumption path for workload teams where applicable
- Drift/conformance monitoring after deployment
- Rollback/recovery and backup/version-retention approach
- Supported/deprecated versions and migration expectations
- Change history and review date
Anti-patterns
- A wiki page describes the baseline but teams implement it manually
- A central security team deploys every control by request
- Templates exist but have no automated security or policy tests
- Workload teams fork templates and cannot consume upstream security fixes
- Baseline success is measured by template deployment, not resulting control conformance
- Emergency manual changes are never reconciled back into code
- No supported-version or migration policy exists
Review: Review with every material baseline/template version and at a defined security-engineering cadence; retain version history and supported versions.
Diagnosis
Common evidence gaps
Default trust policy
Cross-account access is set up without conditions, so any party that knows the role can use it.
Long-term keys given to suppliers
Suppliers hold access keys that don't expire and aren't tied to a role.
Reused external IDs
The same external identifier is used across customers or tenants.
No revocation plan
Nobody has planned or timed how to cut off a third party's access.
Implementation
Implementation guidance
Use cross-account roles, not keys
Give outside parties access through cross-account roles rather than user keys, and use a role-based approach for third-party workloads outside AWS.
Use unique external IDs
Use a unique identifier for each third party, keep it under your control once created, and don't reuse it.
Do due diligence on providers
Before sharing resources with a software-as-a-service provider, assess how securely and responsibly it will access your account and what it takes responsibility for.
Automate setup and watch for drift
Ask the third party for a role policy document or a template, deploy the role from it, and monitor for drift as part of your audit practice.
Plan for change and revocation
Audit access periodically, alert on unexpected changes, and be ready to revoke access. Measure how long revocation takes and what it affects.
Measure
Measurements
- Number of third parties with access.
- Percentage using roles and temporary credentials.
- Percentage with a unique external ID.
- Time taken to revoke access in a test.
Related
Outcomes and practices
Business outcomes
Practices