Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PulumiAccessToken ¶
func PulumiAccessToken() schema.CredentialType
func PulumiCLI ¶
func PulumiCLI() schema.Executable
func TryPulumiConfigFile ¶
Types ¶
type Account ¶
type Account struct { AccessToken string `json:"accessToken,omitempty"` // The access token for this account. Username string `json:"username,omitempty"` // The username for this account. Organizations []string `json:"organizations,omitempty"` // The organizations for this account. LastValidatedAt time.Time `json:"lastValidatedAt,omitempty"` // The last time this token was validated. Insecure bool `json:"insecure,omitempty"` // Allow insecure server connections when using SSL. }
Duplicated from: https://github.com/pulumi/pulumi/blob/874a8de2dac2fe2c8138cf63f3f242660bffc738/sdk/go/common/workspace/creds.go#L112-L127 --- START Account holds the information associated with a Pulumi account.
type Credentials ¶
type Credentials struct { Current string `json:"current,omitempty"` // the currently selected key. AccessTokens map[string]string `json:"accessTokens,omitempty"` // a map of arbitrary key strings to tokens. Accounts map[string]Account `json:"accounts,omitempty"` // a map of arbitrary keys to account info. }
Credentials hold the information necessary for authenticating Pulumi Cloud API requests. It contains a map from the cloud API URL to the associated access token.
Click to show internal directories.
Click to hide internal directories.