Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWS ¶
type AWS struct { Region string Role string RoleDurationSeconds int RoleSessionName string InlineSessionPolicy string ManagedSessionPolicies []string }
AWS struct represents the config for the AWS role assumption.
type Config ¶
type Config struct { Audience string Verify bool ScriptPath string ScriptFormat string ScriptWrite bool AWS *AWS Vela *Vela }
Config struct represents fields user can present to plugin.
func (*Config) AssumeRole ¶
func (c *Config) AssumeRole(token string) (*aws.Credentials, error)
func (*Config) GenerateVelaToken ¶
func (*Config) WriteCreds ¶
func (c *Config) WriteCreds(creds *aws.Credentials) error
Click to show internal directories.
Click to hide internal directories.