call-and-set

command module
v0.0.0-...-e861156 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2020 License: MIT Imports: 7 Imported by: 0

README

call-and-set

Calls a command and sets environment variables based on what it returns.

Usage

$ call-and-set.exe aws sts assume-role --role-arn "arn:aws:iam::123456789012:role/ci_cd" --role-session-name TempRole \
	--env Credentials.AccessKeyId~TEMP_ENVVAR_AKI \
	--env Credentials.SecretAccessKey~TEMP_ENVVAR_SAK \
	--env Credentials.SessionToken~TEMP_ENVVAR_ST

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL