Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConjurIamParams ¶
type ConjurIamParams struct { IamAuthMethod string // IAM IamAuthMethodod: "static", "iamrole", "assumerole", "profile" Profile string // AWS Profile (e.g. Default) RoleArn string // AWS Role ARN (required for assumeRole) RoleSessionName string // AWS Assume Role Session Name (required for assumeRole) AccessKey string // AWS Access Key (Required for static) SecretKey string // AWS Secret Key (Required for static) SessionToken string // AWS Session Token (Optional for static) }
func (ConjurIamParams) NewConjurIamClient ¶
func (p ConjurIamParams) NewConjurIamClient() (*conjurapi.Client, error)
NewConjurIamClient requires a struct containing specific Conjur IAM Parameters Parameters specify the Credential Generation IamAuthMethodod as well as specific Conjur Details. Examples usage in ./examples/
type ConjurParams struct { IamAuthMethod string // IAM IamAuthMethodod: "static", "ec2role", "assumerole", "profile" (Required) Profile string // AWS Profile (e.g. Default) (Required for Profile) RoleArn string // AWS Role ARN (Required for assumeRole) Session string // AWS Assume Role Session Name (Required for assumeRole) AccessKey string // AWS Access Key (Required for static) SecretKey string // AWS Secret Key (Required for static) SessionToken string // AWS Session Token (Optional for static) }
Click to show internal directories.
Click to hide internal directories.