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

Document instructions for connecting to AWS #11

Open
smblee opened this issue May 2, 2019 · 1 comment
Open

Document instructions for connecting to AWS #11

smblee opened this issue May 2, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@smblee
Copy link
Owner

smblee commented May 2, 2019

Document the different ways of how the app connects to AWS.

@smblee smblee added the enhancement New feature or request label May 3, 2019
@virgilwashere
Copy link

Connection to AWS was super simple for me:

connect using aws-vault

av /opt/ParameterStoreManager/parameter-store-manager

Where av is:

av () { exec aws-vault --debug exec "${AWS_DEFAULT_PROFILE:-work-profile}" --server -- "$@"; }
aws-vault debug log
2019/05/25 15:21:19 [keyring] Considering backends: [file]
2019/05/25 15:21:19 Loading config file /home/virgil/.aws/config
2019/05/25 15:21:19 Parsing config file /home/virgil/.aws/config
2019/05/25 15:21:19 Looking for sessions for work-profile
2019/05/25 15:21:19 Looking up all keys in keyring
2019/05/25 15:21:19 [keyring] Expanded file dir to /home/virgil/.awsvault/keys/
2019/05/25 15:21:19 Session "work-profile session (1558798490)" expires in 10h13m30.790102s
2019/05/25 15:21:19 [keyring] Expanded file dir to /home/virgil/.awsvault/keys/
2019/05/25 15:21:19 [keyring] Expanded file dir to /home/virgil/.awsvault/keys/
2019/05/25 15:21:19 Using session ****************N56T, expires in 10h13m30.7580109s
2019/05/25 15:21:19 Using region "ap-southeast-2" from AWS_REGION
2019/05/25 15:21:19 Assuming role arn:aws:iam::123456798132:role/AdminRole from session token
2019/05/25 15:21:20 Using role ****************QBS2 (from session token), expires in 58m59.3696621s
2019/05/25 15:21:20 Local instance role server running on 127.0.0.1:9099
2019/05/25 15:21:20 Setting subprocess env: AWS_DEFAULT_REGION=ap-southeast-2, AWS_REGION=ap-southeast-2
Unable to revert mtime: /usr/local/share/fonts
shared memfd open() failed: Function not implemented
15:21:24.695 › APPIMAGE env is not defined, current application is not an AppImage
2019/05/25 15:21:34 RemoteAddr = 127.0.0.1:34704
2019/05/25 15:21:34 Credentials.IsExpired() = false
2019/05/25 15:21:34 Serving credentials via http ****************QBS2, expiration of 2019-05-25T06:20:20Z (58m45.7200334s)
2019/05/25 15:43:45 RemoteAddr = 127.0.0.1:35457
2019/05/25 15:43:45 Credentials.IsExpired() = false
2019/05/25 15:43:45 Serving credentials via http ****************QBS2, expiration of 2019-05-25T06:20:20Z (36m34.2371272s)

Hope that's of use for the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants