Documentation ¶
Index ¶
- func Backend(_ *logical.BackendConfig) (*backend, error)
- func Factory(ctx context.Context, conf *logical.BackendConfig) (logical.Backend, error)
- func GenerateLoginData(creds *credentials.Credentials, headerValue, configuredRegion string) (map[string]interface{}, error)
- func RetrieveCreds(accessKey, secretKey, sessionToken string) (*credentials.Credentials, error)
- type CLIHandler
- type GetCallerIdentityResponse
- type GetCallerIdentityResult
- type ResponseMetadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Backend ¶
func Backend(_ *logical.BackendConfig) (*backend, error)
func GenerateLoginData ¶ added in v0.8.0
func GenerateLoginData(creds *credentials.Credentials, headerValue, configuredRegion string) (map[string]interface{}, error)
GenerateLoginData populates the necessary data to send to the Vault server for generating a token This is useful for other API clients to use
func RetrieveCreds ¶ added in v0.11.2
func RetrieveCreds(accessKey, secretKey, sessionToken string) (*credentials.Credentials, error)
Types ¶
type CLIHandler ¶
type CLIHandler struct{}
func (*CLIHandler) Help ¶
func (h *CLIHandler) Help() string
type GetCallerIdentityResponse ¶
type GetCallerIdentityResponse struct { XMLName xml.Name `xml:"GetCallerIdentityResponse"` GetCallerIdentityResult []GetCallerIdentityResult `xml:"GetCallerIdentityResult"` ResponseMetadata []ResponseMetadata `xml:"ResponseMetadata"` }
type GetCallerIdentityResult ¶
type ResponseMetadata ¶
type ResponseMetadata struct {
RequestId string `xml:"RequestId"`
}
Source Files ¶
- backend.go
- cli.go
- client.go
- path_config_certificate.go
- path_config_client.go
- path_config_identity.go
- path_config_sts.go
- path_config_tidy_identity_whitelist.go
- path_config_tidy_roletag_blacklist.go
- path_identity_whitelist.go
- path_login.go
- path_role.go
- path_role_tag.go
- path_roletag_blacklist.go
- path_tidy_identity_whitelist.go
- path_tidy_roletag_blacklist.go
Click to show internal directories.
Click to hide internal directories.