Skip to content

native-aws-identity-center-sso - #158

Draft
general-kroll-4-life wants to merge 3 commits into
mainfrom
feature/sso
Draft

general-kroll-4-life wants to merge 3 commits into
mainfrom
feature/sso

Conversation

@general-kroll-4-life

Copy link
Copy Markdown
Contributor

Summary:

  • Enable native AWS IAM Identity Center device login through AUTH LOGIN using OmniSDK v0.1.15-beta02.
  • Use session-scoped SSO tokens and temporary role credentials to sign AWS requests, refresh expiring credentials, and switch roles by profile.
  • Classify INSERT INTO run statements with a prune column as deletions for MCP policy checks.
  • Document Identity Center setup and versioned local builds.
  • Added robot test Native Device Login Authorizes A Query.
  • Added robot test Query Before Login Requires Sign In.
  • Added robot test Repeated Queries Reuse Valid Role Credentials.
  • Added robot test Expiring Role Credentials Renew With The Same Access Token.
  • Added robot test Expired Access Token Refreshes Before The Next Role Exchange.
  • Added robot test Rejected Device Authorization Stops Login.
  • Added robot test Expired Device Authorization Stops Login.
  • Added robot test Rejected Refresh Requires Sign In.
  • Added robot test Portal Role Denial Prevents The EC2 Request.
  • Added robot test Different Profiles In The Same Session Use Their Own Role Credentials.

Description

Type of change

  • Bug fix (non-breaking change to fix a bug).
  • Feature (non-breaking change to add functionality).
  • Breaking change.
  • Other (eg: documentation change). Please explain.

Issues referenced.

Evidence

Checklist:

  • A full round of testing has been completed, and there are no test failures as a result of these changes.
  • The changes are covered with functional and/or integration robot testing.
  • The changes work on all supported platforms.
  • Unit tests pass locally, as per the developer guide.
  • Robot tests pass locally, as per the developer guide.
  • Linter passes locally, as per the developer guide.

Variations

Tech Debt

Summary:

- Enable native AWS IAM Identity Center device login through AUTH LOGIN using OmniSDK v0.1.15-beta02.
- Use session-scoped SSO tokens and temporary role credentials to sign AWS requests, refresh expiring credentials, and switch roles by profile.
- Classify INSERT INTO run statements with a prune column as deletions for MCP policy checks.
- Document Identity Center setup and versioned local builds.
- Added `robot` test `Native Device Login Authorizes A Query`.
- Added `robot` test `Query Before Login Requires Sign In`.
- Added `robot` test `Repeated Queries Reuse Valid Role Credentials`.
- Added `robot` test `Expiring Role Credentials Renew With The Same Access Token`.
- Added `robot` test `Expired Access Token Refreshes Before The Next Role Exchange`.
- Added `robot` test `Rejected Device Authorization Stops Login`.
- Added `robot` test `Expired Device Authorization Stops Login`.
- Added `robot` test `Rejected Refresh Requires Sign In`.
- Added `robot` test `Portal Role Denial Prevents The EC2 Request`.
- Added `robot` test `Different Profiles In The Same Session Use Their Own Role Credentials`.
Summary:

- Enable native AWS IAM Identity Center device login through AUTH LOGIN using OmniSDK v0.1.15-beta02.
- Use session-scoped SSO tokens and temporary role credentials to sign AWS requests, refresh expiring credentials, and switch roles by profile.
- Classify INSERT INTO run statements with a prune column as deletions for MCP policy checks.
- Document Identity Center setup and versioned local builds.
- Added `robot` test `Native Device Login Authorizes A Query`.
- Added `robot` test `Query Before Login Requires Sign In`.
- Added `robot` test `Repeated Queries Reuse Valid Role Credentials`.
- Added `robot` test `Expiring Role Credentials Renew With The Same Access Token`.
- Added `robot` test `Expired Access Token Refreshes Before The Next Role Exchange`.
- Added `robot` test `Rejected Device Authorization Stops Login`.
- Added `robot` test `Expired Device Authorization Stops Login`.
- Added `robot` test `Rejected Refresh Requires Sign In`.
- Added `robot` test `Portal Role Denial Prevents The EC2 Request`.
- Added `robot` test `Different Profiles In The Same Session Use Their Own Role Credentials`.
Summary:

- Add native AWS IAM Identity Center device login through AUTH LOGIN using OmniSDK v0.1.15-beta03, without requiring the AWS CLI.
- Save SSO logins across StackQL processes, renew temporary role credentials, and let AUTH REVOKE clear the saved login.
- Resolve AWS account and role from the selected profile and sign requests with the corresponding temporary credentials.
- Classify INSERT INTO run statements with a prune column as deletions for MCP policy checks.
- Document the real AWS login walkthrough, versioned local builds, and the commit message convention.
- Added `robot` test `Native Device Login Authorizes A Query`.
- Added `robot` test `Query Before Login Requires Sign In`.
- Added `robot` test `Repeated Queries Reuse Valid Role Credentials`.
- Added `robot` test `Expiring Role Credentials Renew With The Same Access Token`.
- Added `robot` test `Expired Access Token Refreshes Before The Next Role Exchange`.
- Added `robot` test `Rejected Device Authorization Stops Login`.
- Added `robot` test `Expired Device Authorization Stops Login`.
- Added `robot` test `Rejected Refresh Requires Sign In`.
- Added `robot` test `Portal Role Denial Prevents The EC2 Request`.
- Added `robot` test `Different Profiles In The Same Session Use Their Own Role Credentials`.
- Added `robot` test `Fresh Process Reuses And Can Revoke A Saved Login`.
- Added `robot` test `Fresh Processes Refresh And Reuse The Updated Login`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant