storj/cmd
Bill Thorp f65a1e8c1c uplink: use output formats for 'uplink access register' instead of writing to AWS file
The current uplink access register method has the ability to write to AWS credential files.
This is caused issues with repeat usage in recent AWS CLI code, and there was concern that
it was an unstable solution.  This version instead specifies various output formats "env"
and "aws". "env" formats the text so that it can be used with 'export'.  "Aws" generates
"aws configure" commands to persist the credentials to the AWS credential files as the
previous version could.

Example usages:

Setting ephemeral evironment variables in bash:
export $(uplink access register $(storj-sim network env GATEWAY_0_ACCESS)
--auth-service http://localhost:8000 --format env)

Setting persistant configs via AWS CLI in bash:
source <(uplink access register $(storj-sim network env GATEWAY_0_ACCESS)
--auth-service http://localhost:8000 --format aws --aws-profile storjsim)

Change-Id: I5d78d6462a3537780af3717a298bb2bebf9c2799
2020-12-30 13:34:01 +00:00
..
certificates certificate/authorization: add ctx to OpenDB 2020-10-29 09:46:23 +02:00
identity pkg/revocation: pass ctx into opening the database 2020-10-29 07:15:36 +00:00
inspector satellite/internalpb: add inspectors 2020-10-30 13:28:17 +02:00
internal cmd/internal/wizard: select satellite 2020-11-10 15:26:05 -07:00
metric-receiver cmd/metric-receiver: restore minimal metrics server 2020-10-14 20:01:29 +03:00
multinode cmd/multinode: create schema command added, run command bug fixed 2020-11-12 18:00:18 +00:00
satellite build: update node to v14.15.3 (#4007) 2020-12-20 17:20:19 +01:00
segment-reaper Allow for DB application names per process. (#3983) 2020-12-04 11:24:39 +01:00
storagenode cmd: ensure proper arch is used for docker container 2020-12-20 09:26:23 +02:00
storagenode-updater storagenode-updater: check binary version on self-update 2020-10-21 10:54:26 +00:00
storj-admin all: fix linter complaints 2020-10-13 15:59:01 +03:00
storj-sim all: switch from master to main 2020-12-28 22:59:06 +01:00
uplink uplink: use output formats for 'uplink access register' instead of writing to AWS file 2020-12-30 13:34:01 +00:00
versioncontrol private/version: minimal fix for tag-release.sh 2020-04-01 13:46:45 +00:00