Documentation ¶
Overview ¶
Package azurefederated 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"` ClientID string `json:"clientId"` TenantID string `json:"tenantId"` }
Data contains the data fields specific to this managed identity type
type Delegate ¶
type Delegate struct {
// contains filtered or unexported fields
}
Delegate for the Azure OIDC Federated managed identity type
func New ¶
func New(_ context.Context, jwsProvider jwsprovider.JWSProvider, issuerURL string) (*Delegate, error)
New creates a new Delegate instance
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.