Documentation ¶
Index ¶
Constants ¶
View Source
const (
VaultProviderName = "VaultProvider"
)
Variables ¶
This section is empty.
Functions ¶
func NewAWSVaultCredentials ¶
func NewAWSVaultCredentials(cfg VaultProvider) (*creds.Credentials, error)
Types ¶
type VaultProvider ¶
type VaultProvider struct { AssumeRoleInput *stsschema.AssumeRoleInput VaultSigner *hmacsigner.VaultSigner GetSessionTokenInput *stsschema.GetSessionTokenInput Version string Region string // contains filtered or unexported fields }
func (*VaultProvider) ExpiresAt ¶
func (s *VaultProvider) ExpiresAt() time.Time
func (*VaultProvider) IsExpired ¶
func (s *VaultProvider) IsExpired() bool
Click to show internal directories.
Click to hide internal directories.