Documentation ¶
Overview ¶
Package v1 defines methods for managing various authentication data. Note that it is not intended for managing sdk.Client JWT, but rather things like agent credentials or AWS IAM ids.
Index ¶
- Constants
- type Endpoints
- func (e Endpoints) GetAgentCredentials(ctx context.Context, project, agentsName string) (creds M2MAppCredentials, err error)
- func (e Endpoints) GetDataExportIAMRoleIDs(ctx context.Context) (*IAMRoleIDs, error)
- func (e Endpoints) GetDirectIAMRoleIDs(ctx context.Context, project, directName string) (*IAMRoleIDs, error)
- type IAMRoleIDs
- type M2MAppCredentials
Constants ¶
View Source
const (
QueryKeyName = "name"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoints ¶
type Endpoints struct {
// contains filtered or unexported fields
}
func NewEndpoints ¶
func (Endpoints) GetAgentCredentials ¶
func (e Endpoints) GetAgentCredentials( ctx context.Context, project, agentsName string, ) (creds M2MAppCredentials, err error)
GetAgentCredentials retrieves manifest.KindAgent credentials.
func (Endpoints) GetDataExportIAMRoleIDs ¶
func (e Endpoints) GetDataExportIAMRoleIDs(ctx context.Context) (*IAMRoleIDs, error)
func (Endpoints) GetDirectIAMRoleIDs ¶
type IAMRoleIDs ¶
type M2MAppCredentials ¶
Click to show internal directories.
Click to hide internal directories.