Skip to content

Latest commit

 

History

History
78 lines (45 loc) · 1.38 KB

README.md

File metadata and controls

78 lines (45 loc) · 1.38 KB

arn

Create an AWS Console URL from an ARN.

Quickstart

Install the cli with the easy installer

After the install is complete you can run it:

For more installation options see the install section.

For usage and options, see the usage section.

Install

Easy Install

Manual Install

Build from Source

Usage

$ arn arn:aws:iam::aws:policy/test
https://console.aws.amazon.com/iam/home#/policies/arn:aws:iam::aws:policy/test$jsonEditor

Options

Name Required Default Description
--profile false The AWS profile to use

Supported Services

You can view the list of supported services / actions in the support doc.

Credential Resolution

Your AWS session uses the following path to resolve credentials:

  • If the following environment variables are found they are used
    • AWS_ACCESS_KEY_ID
    • AWS_SECRET_ACCESS_KEY
    • AWS_SESSION_TOKEN
  • If an AWS profile name is passed to the command it is used

Region Resolution

The region for a URL uses the following path to resolve the region:

  • If the ARN contains a region it is used
  • If the region is passed into the command it is used
  • If an AWS_REGION environment variable is found it is used
  • If a region is set for the specified AWS profile it is used