-
Notifications
You must be signed in to change notification settings - Fork 1
Federation Links
It is possible to use the Speedrun API directly to federate into the AWS console. With federation links, you don't need to have the Speedrun script installed. These links are bookmarkable and shareable, and, as long as the callee is authorized to access to the role, the link works. To call the API directly, you need the AWS account
id, Speedrun role
name and optional destination
.
Use the Speedrun button in the toolbar of the AWS console to automatically build and copy a federation link for the current console url in the current role to the clipboard.
Tip
If you have federated into the console using Identity Center, Speedrun will build a link that uses Identity Center Shortcut Links instead of the Speedrun Credentials Broker.
Use the federate endpoint and set the account
, role
, and URI encoded console destination
. It requires cookies to be enabled to work. This helper will help you build the link and URI encode the console destination.
#copy
https://speedrun-api.us-west-2.nobackspacecrew.com/v1/federate/~~~Account~~~?role=~~~Role~~~&destination=~~~Console Destination {transform:'encodeURIComponent(value)'}~~~
If you'd like to change the session duration to something other than 1 hour, you can set the duration
parameter. This doc describes how it determines the units of the value. For example if you set it to 3, it's in hours, if you set it to 15 it's in minutes.