Documentation ¶
Index ¶
- func GetEC2AccessProfile(configFile, profileRestrictToKey, metaEndpoint string, useRegionalSTS bool, ...) (*options.AccessProfileConfig, error)
- func GetEC2Config(configFile, profileConfigFile, profileRestrictToKey, metaEndpoint string, ...) (*options.Config, *options.ConfigAccount, *options.AccessProfileConfig, error)
- func GetEC2DocumentDetails(metaEndPoint string) ([]byte, []byte, string, string, string, string, *time.Time, error)
- func GetEC2PublicIP(metaEndPoint string) (string, error)
- func GetECSOnEC2TaskId() string
- type EC2Provider
- func (ec2 EC2Provider) AttestationData(_ string, _ crypto.PrivateKey, _ *signature.SignatureInfo) (string, error)
- func (ec2 EC2Provider) CloudAttestationData(_, _, _ string) (string, error)
- func (ec2 EC2Provider) GetAccessManagementProfileFromMeta(_ string) (string, error)
- func (ec2 EC2Provider) GetAccountDomainServiceFromMeta(_ string) (string, string, string, error)
- func (ec2 EC2Provider) GetAdditionalSshHostPrincipals(base string) (string, error)
- func (ec2 EC2Provider) GetCsrDn() pkix.Name
- func (ec2 EC2Provider) GetEmail(_ string) []string
- func (ec2 EC2Provider) GetHostname(fqdn bool) string
- func (ec2 EC2Provider) GetName() string
- func (ec2 EC2Provider) GetRoleDnsNames(_ *x509.Certificate, _ string) []string
- func (ec2 EC2Provider) GetSanDns(_ string, _ bool, _ bool, _ []string) []string
- func (ec2 EC2Provider) GetSanIp(_ map[string]bool, _ []net.IP, _ ip.Opts) []net.IP
- func (ec2 EC2Provider) GetSanUri(_ string, _ ip.Opts, _, _ string) []*url.URL
- func (ec2 EC2Provider) GetSuffixes() []string
- func (ec2 EC2Provider) PrepareKey(_ string) (crypto.PrivateKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEC2AccessProfile ¶ added in v1.11.9
func GetEC2Config ¶ added in v1.10.40
func GetEC2Config(configFile, profileConfigFile, profileRestrictToKey, metaEndpoint string, useRegionalSTS bool, region, account string) (*options.Config, *options.ConfigAccount, *options.AccessProfileConfig, error)
func GetEC2DocumentDetails ¶ added in v1.10.40
func GetEC2PublicIP ¶ added in v1.11.54
func GetECSOnEC2TaskId ¶ added in v1.10.40
func GetECSOnEC2TaskId() string
Types ¶
type EC2Provider ¶ added in v1.11.19
func (EC2Provider) AttestationData ¶ added in v1.11.19
func (ec2 EC2Provider) AttestationData(_ string, _ crypto.PrivateKey, _ *signature.SignatureInfo) (string, error)
func (EC2Provider) CloudAttestationData ¶ added in v1.11.25
func (ec2 EC2Provider) CloudAttestationData(_, _, _ string) (string, error)
func (EC2Provider) GetAccessManagementProfileFromMeta ¶ added in v1.11.25
func (ec2 EC2Provider) GetAccessManagementProfileFromMeta(_ string) (string, error)
func (EC2Provider) GetAccountDomainServiceFromMeta ¶ added in v1.11.25
func (EC2Provider) GetAdditionalSshHostPrincipals ¶ added in v1.11.31
func (ec2 EC2Provider) GetAdditionalSshHostPrincipals(base string) (string, error)
GetAdditionalSshHostPrincipals returns the additional ssh host principals
func (EC2Provider) GetCsrDn ¶ added in v1.11.19
func (ec2 EC2Provider) GetCsrDn() pkix.Name
func (EC2Provider) GetEmail ¶ added in v1.11.19
func (ec2 EC2Provider) GetEmail(_ string) []string
func (EC2Provider) GetHostname ¶ added in v1.11.19
func (ec2 EC2Provider) GetHostname(fqdn bool) string
GetHostname returns the hostname as per the provider
func (EC2Provider) GetName ¶ added in v1.11.19
func (ec2 EC2Provider) GetName() string
GetName returns the name of the current provider
func (EC2Provider) GetRoleDnsNames ¶ added in v1.11.19
func (ec2 EC2Provider) GetRoleDnsNames(_ *x509.Certificate, _ string) []string
func (EC2Provider) GetSuffixes ¶ added in v1.11.54
func (ec2 EC2Provider) GetSuffixes() []string
func (EC2Provider) PrepareKey ¶ added in v1.11.19
func (ec2 EC2Provider) PrepareKey(_ string) (crypto.PrivateKey, error)
Click to show internal directories.
Click to hide internal directories.