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 GetECSOnEC2TaskId() string
- type EC2Provider
- func (ec2 EC2Provider) AttestationData(svc string, key crypto.PrivateKey, sigInfo *signature.SignatureInfo) (string, error)
- func (eks EC2Provider) CloudAttestationData(base, svc, ztSserverName string) (string, error)
- func (tp EC2Provider) GetAccessManagementProfileFromMeta(base string) (string, error)
- func (eks EC2Provider) GetAccountDomainServiceFromMeta(base string) (string, string, string, error)
- func (ec2 EC2Provider) GetCsrDn() pkix.Name
- func (ec2 EC2Provider) GetEmail(service string) []string
- func (ec2 EC2Provider) GetHostname() string
- func (ec2 EC2Provider) GetName() string
- func (ec2 EC2Provider) GetRoleDnsNames(cert *x509.Certificate, service string) []string
- func (ec2 EC2Provider) GetSanDns(service string, includeHost bool, wildcard bool, cnames []string) []string
- func (ec2 EC2Provider) GetSanIp(docIp map[string]bool, ips []net.IP, opts ip.Opts) []net.IP
- func (ec2 EC2Provider) GetSanUri(svc string, opts ip.Opts) []*url.URL
- func (ec2 EC2Provider) GetSuffix() string
- func (ec2 EC2Provider) PrepareKey(file 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 GetECSOnEC2TaskId ¶ added in v1.10.40
func GetECSOnEC2TaskId() string
Types ¶
type EC2Provider ¶ added in v1.11.19
type EC2Provider struct {
Name string
}
func (EC2Provider) AttestationData ¶ added in v1.11.19
func (ec2 EC2Provider) AttestationData(svc string, key crypto.PrivateKey, sigInfo *signature.SignatureInfo) (string, error)
func (EC2Provider) CloudAttestationData ¶ added in v1.11.25
func (eks EC2Provider) CloudAttestationData(base, svc, ztSserverName string) (string, error)
func (EC2Provider) GetAccessManagementProfileFromMeta ¶ added in v1.11.25
func (tp EC2Provider) GetAccessManagementProfileFromMeta(base string) (string, error)
func (EC2Provider) GetAccountDomainServiceFromMeta ¶ added in v1.11.25
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(service string) []string
func (EC2Provider) GetHostname ¶ added in v1.11.19
func (ec2 EC2Provider) GetHostname() 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(cert *x509.Certificate, service string) []string
func (EC2Provider) GetSuffix ¶ added in v1.11.19
func (ec2 EC2Provider) GetSuffix() string
func (EC2Provider) PrepareKey ¶ added in v1.11.19
func (ec2 EC2Provider) PrepareKey(file string) (crypto.PrivateKey, error)
Click to show internal directories.
Click to hide internal directories.