mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
+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:
parent
5ad19d40b4
commit
fd5653b2eb
24
projects/nike.com/gimme-aws-creds/package.yml
Normal file
24
projects/nike.com/gimme-aws-creds/package.yml
Normal 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}}"
|
Loading…
Reference in a new issue