+gimme-aws-creds -- A CLI that utilizes Okta IdP via SAML to acquire temporary AWS credentials (#5496)

* +gimme-aws-creds -- A CLI that utilizes Okta IdP via SAML to acquire temporary AWS credentials

* pip install .

* use --help flag instead, since --version is prompting for a config file

* touch config file so --version runs

---------

Co-authored-by: Jacob Heider <jacob@pkgx.dev>
This commit is contained in:
Kevin Chen 2024-03-11 09:54:30 -04:00 committed by GitHub
parent 5ad19d40b4
commit fd5653b2eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,24 @@
distributable:
url: https://github.com/Nike-Inc/gimme-aws-creds/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
versions:
github: Nike-Inc/gimme-aws-creds
dependencies:
pkgx.sh: ^1
build:
dependencies:
python.org: ^3.11
script:
- bkpyvenv stage {{prefix}} {{version}}
- ${{prefix}}/venv/bin/pip install .
- bkpyvenv seal {{prefix}} gimme-aws-creds
provides:
- bin/gimme-aws-creds
test:
- touch ~/.okta_aws_login_config
- test "$(gimme-aws-creds --version)" = "gimme-aws-creds {{version}}"