Skip to content

Commit

Permalink
Add all artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
James Davies committed Jan 31, 2025
1 parent 935dbc8 commit 015adf3
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,24 @@ jobs:
# Artifact name
name: aws-auth_darwin_arm64
path: aws-auth_darwin_arm64

- name: upload_darwin_amd4
uses: actions/[email protected]
with:
# Artifact name
name: aws-auth_darwin_amd64
path: aws-auth_darwin_amd64

- name: upload_linux_arm64
uses: actions/[email protected]
with:
# Artifact name
name: aws-auth_linux_arm64
path: aws-auth_linux_arm64

- name: upload_linux_amd64
uses: actions/[email protected]
with:
# Artifact name
name: aws-auth_linux_amd64
path: aws-auth_linux_amd64
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
## aws-auth
Simple utility for managing aws sessions acquired via IDP SAML provider

*This is a work in progress*
More info and better installation instruction to follow

### Installation ###
Download from the following url
* [MAC (ARM64)](https://github.com/jimmydavies/aws-auth/actions/runs/13074711744/artifacts/2517230919)

* Unzip with your favourite unzipping tool
* Unquarantine the binary `xattr -r -d com.apple.quarantine </path/to/file>`
* Add to your path

### Configure ###
Add a profile to your aws config file that looks like this
```
[profile <rolename>]
account_id = <my_aws_account_number>
idp_arn = <arn_of_the_iam_idp_saml_provider>
login_url = <login_url>
credential_process = <path_to_this_script> <environment> <rolename> -o json
```

### Test ###
`aws-auth -o json <environment> <rolename>`



0 comments on commit 015adf3

Please sign in to comment.