Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decode Account IDs from access keys. #93

Merged
merged 1 commit into from
Oct 25, 2023
Merged

Conversation

tristanmorgan
Copy link
Owner

@tristanmorgan tristanmorgan commented Oct 12, 2023

Description

New Feature! adds the ability to decode the account number from access keys and will add a new env var AWS_ACCOUNT_ID to exec and env commands, also adds a decode command that I may remove later depending on how I feel. Caveat AWS may change how the account number is encoded in the future so its more of a guess.

To test run awskeyring decode AKIA.....(what ever your access key is) and see if you get the correct account number matching aws sts get-caller-identity.

Did you run the Tests?

  • Rubocop
  • Rspec
  • Filemode
  • Yard

@tristanmorgan tristanmorgan requested a review from AzySir October 13, 2023 23:50
@tristanmorgan tristanmorgan changed the title Decode account numbers from access keys. Decode Account IDs from access keys. Oct 16, 2023
@tristanmorgan tristanmorgan force-pushed the account_no_decode branch 2 times, most recently from 3039598 to 01f722e Compare October 16, 2023 01:00
@tristanmorgan tristanmorgan self-assigned this Oct 24, 2023
@tristanmorgan tristanmorgan merged commit bb336f4 into main Oct 25, 2023
@tristanmorgan tristanmorgan deleted the account_no_decode branch October 25, 2023 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants