Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MSIAttestorConfig ¶
type MSIAttestorConfig struct {
Tenants map[string]*TenantConfig `hcl:"tenants" json:"tenants"`
AgentPathTemplate string `hcl:"agent_path_template" json:"agent_path_template"`
}
type MSIAttestorPlugin ¶
type MSIAttestorPlugin struct {
nodeattestorbase.Base
nodeattestorv1.UnsafeNodeAttestorServer
configv1.UnsafeConfigServer
// contains filtered or unexported fields
}
func New ¶
func New() *MSIAttestorPlugin
func (*MSIAttestorPlugin) Attest ¶
func (p *MSIAttestorPlugin) Attest(stream nodeattestorv1.NodeAttestor_AttestServer) error
func (*MSIAttestorPlugin) Configure ¶
func (p *MSIAttestorPlugin) Configure(_ context.Context, req *configv1.ConfigureRequest) (*configv1.ConfigureResponse, error)
func (*MSIAttestorPlugin) SetLogger ¶
func (p *MSIAttestorPlugin) SetLogger(log hclog.Logger)
type TenantConfig ¶
type TenantConfig struct {
ResourceID string `hcl:"resource_id" json:"resource_id"`
SubscriptionID string `hcl:"subscription_id" json:"subscription_id"`
AppID string `hcl:"app_id" json:"app_id"`
AppSecret string `hcl:"app_secret" json:"app_secret"`
// Deprecated: use_msi is deprecated and will be removed in a future release.
// Will be used implicitly if other mechanisms to authenticate fail.
UseMSI bool `hcl:"use_msi" json:"use_msi"`
}
Click to show internal directories.
Click to hide internal directories.