opentofu/command/cliconfig/testdata/credentials
Martin Atkins e1590d0a70 command/cliconfig: Factor out CLI config handling
This is just a wholesale move of the CLI configuration types and functions
from the main package into its own package, leaving behind some type
aliases and wrappers for now to keep existing callers working.

This commit alone doesn't really achieve anything, but in future commits
we'll expand the functionality in this package.
2019-08-01 10:56:41 -07:00

18 lines
423 B
Plaintext

credentials "example.com" {
token = "foo the bar baz"
}
credentials "example.net" {
# Username and password are not currently supported, but we want to tolerate
# unknown keys in case future versions add new keys when both old and new
# versions of Terraform are installed on a system, sharing the same
# CLI config.
username = "foo"
password = "baz"
}
credentials_helper "foo" {
args = ["bar", "baz"]
}