Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProvisionCredentials ¶
func ProvisionCredentials(ctx context.Context, client client.Client, secretNamespace string) (string, error)
ProvisionCredentials provisions cloud credentials secret in the given namespace with IAM policies required by the operator. The credentials data are put into a file which can be used to set up AWS SDK client.
Types ¶
type IAMPolicy ¶
type IAMPolicy struct { Version string Statement []cco.StatementEntry }
func GetIAMPolicy ¶
func GetIAMPolicy() IAMPolicy
Click to show internal directories.
Click to hide internal directories.