mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-30 10:47:14 -06:00
e1590d0a70
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.
18 lines
423 B
Plaintext
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"]
|
|
}
|