Discover Packages
github.com/flowcommerce/aws-credentials-broker
utils
package
Version:
v0.0.0-...-2d9921c
Opens a new window with list of versions in this module.
Published: Oct 20, 2023
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type AdminUserConfig struct {
Email string
PrivateKey []byte
AdminEmail string
}
A FlexInt is an int that can be unmarshalled from a JSON field
that has either a number or a string value.
E.g. if the json field contains an string "42", the
FlexInt value will be "42".
type RoleValue struct {
Value string `json:"value"`
}
type Roles struct {
SessionDuration FlexInt `json:"SessionDuration"`
Roles []RoleValue `json:"IAM_role"`
}
type User struct {
Email string `json:"email"`
}
type UserRoles struct {
User User `json:"user"`
Roles Roles `json:"roles"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.