Obtain Time-Limited AWS Role Access

Provide the role and session requirements so your assistant can request credentials and report when they expire.

What to Ask Leina to Do with AWS STS

Copy a prompt, add your details, and send it to Leina in your connected team chat.

Use access credentials to obtain a temporary role session with explicit requirements.

Using my AWS access-key connection, assume [role ARN] with session name [name] for [seconds], applying [optional session policy or none] and [external ID if required]. Report expiration and keep secret values out of the summary.

Obtain current temporary credentials from the configured OIDC connection.

Retrieve the temporary credentials from my AWS OIDC federation connection and report the expiration. Do not include secret credential values in the written summary.

Get Started with AWS STS

  1. Connect Your Account

    Connect AWS access credentials for AssumeRole, or configure OIDC federation.

  2. Try a Task

    Tell Leina what you need in your team chat. Include the source, destination, and expected result.

    Set Up Leina in Your Chat →
  3. Check the Result

    Review the result and any changes in the connected app.

Supported AWS STS Capabilities

AWS STS provides temporary access under an IAM role. The connection supports access-key role assumption and retrieval of a configured federated credential lease.

Temporary Role Credentials

Obtain an AssumeRole session or return the configured federated credential lease.

View All 2 Actions
  • Assume Role
  • Get Federated Credentials

Visit Provider Website ↗

Frequently Asked Questions

Can a session policy grant extra permissions?

No. Session policies restrict the permissions available through the role rather than adding access the role does not have.

What should I check before using the result?

Check the assumed role, expiration, and the presence of the session token. Temporary access requires the whole credential set.

Can I change a federated session by passing a different policy?

This action returns the credential lease already established by the federation configuration. It does not re-assume a role with new per-call policies.

Your AI employee for AWS STS

Tell Leina what you need in your team chat. Include the source, destination, and expected result.