credentials

package
v0.0.0-...-55ed90b Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMissingCloudToken = errors.New("no Terraform Cloud token is set")
	ErrInvalidCloudToken = errors.New("invalid Terraform Cloud Token")
)

Functions

func CheckCloudConfigSet

func CheckCloudConfigSet() bool

CheckCloudConfigSet returns if there is valid configuration for Terraform Cloud available on the system.

func FindTerraformCloudToken

func FindTerraformCloudToken(host string) string

FindTerraformCloudToken returns a TFC Bearer token for the given host.

Types

This section is empty.

Jump to

Keyboard shortcuts

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