Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiscoverLocation ¶ added in v0.3.3
DiscoverLocation discover cred location
Types ¶
type Aws ¶
type Aws struct {
Id string `json:",omitempty"`
PoolId string `json:",omitempty"`
Endpoint string `json:",omitempty"`
Region string `json:",omitempty"`
Token string `json:",omitempty"`
Session *AwsSession `json:",omitempty"`
SecretKey
}
Aws represents AWS credentials
type AwsSession ¶ added in v0.3.2
Aws represents AWS credentials
type Azure ¶ added in v0.26.0
type Azure struct {
Oauth2Config `yaml:",inline"`
TenantID string ` yaml:"tenantId"`
}
Azure represents Azure OAuth2 configuration ClientSecret is optional for public clients; when empty, Cipher/Decipher are no-ops.
type Basic ¶
type Basic struct {
Endpoint string `json:",omitempty"`
Email string `json:",omitempty"`
Username string `json:",omitempty"`
Password string `json:",omitempty"`
EncryptedPassword string `json:",omitempty"`
}
Basic represents basic credentials
type JwtConfig ¶
type JwtConfig struct {
ClientEmail string `json:"client_email,omitempty"`
TokenURL string `json:"token_url,omitempty"`
PrivateKey string `json:"private_key,omitempty"`
PrivateKeyID string `json:"private_key_id,omitempty"`
ProjectID string `json:"project_id,omitempty"`
TokenURI string `json:"token_uri,omitempty"`
Type string `json:"type,omitempty"`
ClientX509CertURL string `json:"client_x509_cert_url,omitempty"`
AuthProviderX509CertURL string `json:"auth_provider_x509_cert_url,omitempty"`
Scopes []string `json:",omitempty"`
}
JwtConfig represents jws config
type Oauth2Config ¶ added in v0.19.0
type Oauth2Config struct {
oauth2.Config `yaml:",inline"`
EncryptedClientSecret string `json:",omitempty" yaml:"EncryptedSecret"`
}
type SHA1 ¶
type SHA1 struct {
Key string `json:",omitempty"`
EncryptedKey string `json:",omitempty"`
IntegrityKey string `json:",omitempty"`
EncryptedIntegrityKey string `json:",omitempty"`
}
SHA1 represents sha1 key secrets
type SSH ¶
type SSH struct {
Basic
PrivateKeyPath string `json:",omitempty"`
PrivateKeyPayload []byte `json:",omitempty"`
PrivateKeyPassword string `json:",omitempty"`
EncryptedPrivateKey string `json:",omitempty"`
EncryptedPrivateKeyPassword string `json:",omitempty"`
}
SSH represents SSH config
type SecretKey ¶ added in v0.9.3
type SecretKey struct {
Key string `json:",omitempty" yaml:"Key"`
Secret string `json:",omitempty" yaml:"Secret"`
EncryptedSecret string `json:",omitempty" yaml:"EncryptedSecret"`
}
SecretKey represents a key
func (*SecretKey) Cipher ¶ added in v0.9.3
Cipher ciphers password to encrypted password, clears password after that
Source Files
¶
Click to show internal directories.
Click to hide internal directories.