Documentation ¶
Overview ¶
Package tharsisfederated package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { Subject string `json:"subject"` ServiceAccountPath string `json:"serviceAccountPath"` }
Data contains the data fields specific to this managed identity type
type Delegate ¶
type Delegate struct {
// contains filtered or unexported fields
}
Delegate for the Tharsis OIDC Federated managed identity type
func (*Delegate) CreateCredentials ¶
func (d *Delegate) CreateCredentials(ctx context.Context, identity *models.ManagedIdentity, job *models.Job) ([]byte, error)
CreateCredentials returns a signed JWT token for the managed identity
func (*Delegate) SetManagedIdentityData ¶
func (d *Delegate) SetManagedIdentityData(_ context.Context, managedIdentity *models.ManagedIdentity, input []byte) error
SetManagedIdentityData updates the managed identity custom data payload
Click to show internal directories.
Click to hide internal directories.