Deep-linking into the AWS Console
As of Substrate 2022.09, you can deep-link into the AWS Console via your Intranet. You should try to take this extra step whenever you’re presenting your coworkers with links into the AWS Console to avoid two points of friction:
- They might not be logged in and the AWS Console isn’t very aware of outside identity providers like the ones you integrate via Substrate.
- They might be logged into a different AWS account, which will almost certainly result in something akin to a 404 Not Found within the AWS Console.
By deep-linking via your Intranet, you can ensure folks will be logged in and to the appropriate AWS account.
You must construct a URL like this:
https://example.com/accounts?next=https%3A%2F%2Fconsole.aws.amazon.com%2Fsome-service%2Fsome-resource%3Fsome-querystring&number=12-digit-AWS-account-number&role=role-name
example.com
: As is the convention in this documentation, replace example.com with your Intranet’s DNS domain name.https%3A%2F%2Fconsole.aws.amazon.com%2Fsome-service%2Fsome-resource%3Fsome-querystring
: Thenext
query parameter must contain a URL-encoded URL to a page onconsole.aws.amazon.com
or a subdomain (which means that, yes, you can link to regional pages in the AWS Console).12-digit-AWS-account-number
: Thenumber
query parameter must contain the 12-digit AWS account number of the account that owns the resource(s) you’re linking to.role-name
: Therole
query parameter must contain the name of an IAM role in that account. “Auditor” is a good choice here because most folks will be able to assume that role, which makes it reasonable to e.g. share the deep link in Slack, and because the resulting AWS Console session will be read-only, which makes it a little safer.