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

Allow setting of 'file' store passphrase via env var #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

arohter
Copy link

@arohter arohter commented Sep 27, 2020

Need a way to automate workflows under linux, without requiring manual entry.
Looks like someone else had a similar idea, so I've re-used their name, in case it ever gets merged upstream:
bwillis@293ee5c

docker run --rm -e VERSION=1.0.11.1 -v $PWD:/ws -w /ws golang:1.15 make -e all

aws-okta add -b file -d --domain name.okta.com

export AWS_OKTA_FILE_PASSPHRASE=secret

Need a way to automate workflows under linux.
Looks like someone else had a similar idea, so I've re-used their name, in case it ever gets merged upstream:
bwillis@293ee5c
@ichentsovtivo
Copy link

ichentsovtivo commented Sep 30, 2020

Compilation on (centos) linux:

  • Install go ver 1.13 or higher and dependencies (yum install golang)
  • Run make all in "aws-okta-master" project folder and grab binaries from "aws-okta-master/dist"

Use:

  1. passphrase must not be empty (redo aws-okta add -b file -d --domain name.okta.com command if wasn't set before)
  2. add 2 lines to kubeconfig, after "env:" for example in tek2-dev.kubeconfig

- name: AWS_OKTA_FILE_PASSPHRASE
value: your passphrase here

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