Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() keyprovider.Descriptor
Types ¶
type AssumeRole ¶
type AssumeRole struct { RoleARN string `hcl:"role_arn"` Duration string `hcl:"duration,optional"` ExternalID string `hcl:"external_id,optional"` Policy string `hcl:"policy,optional"` PolicyARNs []string `hcl:"policy_arns,optional"` SessionName string `hcl:"session_name,optional"` Tags map[string]string `hcl:"tags,optional"` TransitiveTagKeys []string `hcl:"transitive_tag_keys,optional"` }
type AssumeRoleWithWebIdentity ¶
type AssumeRoleWithWebIdentity struct { RoleARN string `hcl:"role_arn,optional"` Duration string `hcl:"duration,optional"` Policy string `hcl:"policy,optional"` PolicyARNs []string `hcl:"policy_arns,optional"` SessionName string `hcl:"session_name,optional"` WebIdentityToken string `hcl:"web_identity_token,optional"` WebIdentityTokenFile string `hcl:"web_identity_token_file,optional"` }
type Config ¶
type Config struct { // KeyProvider Config KMSKeyID string `hcl:"kms_key_id"` KeySpec string `hcl:"key_spec"` // Mirrored S3 Backend Config, mirror any changes AccessKey string `hcl:"access_key,optional"` Endpoints []ConfigEndpoints `hcl:"endpoints,block"` MaxRetries int `hcl:"max_retries,optional"` Profile string `hcl:"profile,optional"` Region string `hcl:"region,optional"` SecretKey string `hcl:"secret_key,optional"` SkipCredsValidation bool `hcl:"skip_credentials_validation,optional"` SkipRequestingAccountId bool `hcl:"skip_requesting_account_id,optional"` STSRegion string `hcl:"sts_region,optional"` Token string `hcl:"token,optional"` HTTPProxy *string `hcl:"http_proxy,optional"` HTTPSProxy *string `hcl:"https_proxy,optional"` NoProxy string `hcl:"no_proxy,optional"` Insecure bool `hcl:"insecure,optional"` UseDualStackEndpoint bool `hcl:"use_dualstack_endpoint,optional"` UseFIPSEndpoint bool `hcl:"use_fips_endpoint,optional"` CustomCABundle string `hcl:"custom_ca_bundle,optional"` EC2MetadataServiceEndpoint string `hcl:"ec2_metadata_service_endpoint,optional"` EC2MetadataServiceEndpointMode string `hcl:"ec2_metadata_service_endpoint_mode,optional"` SkipMetadataAPICheck *bool `hcl:"skip_metadata_api_check,optional"` AssumeRole *AssumeRole `hcl:"assume_role,optional"` AssumeRoleWithWebIdentity *AssumeRoleWithWebIdentity `hcl:"assume_role_with_web_identity,optional"` AllowedAccountIds []string `hcl:"allowed_account_ids,optional"` ForbiddenAccountIds []string `hcl:"forbidden_account_ids,optional"` RetryMode string `hcl:"retry_mode,optional"` }
func (Config) Build ¶
func (c Config) Build() (keyprovider.KeyProvider, keyprovider.KeyMeta, error)
type ConfigEndpoints ¶
Click to show internal directories.
Click to hide internal directories.