-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
James Davies
committed
Jan 31, 2025
1 parent
935dbc8
commit 015adf3
Showing
2 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>` | ||
|
||
|
||
|