Documentation ¶
Overview ¶
Package credential facilitates communication with Intel® AMT devices in order to define a context (e.g., a System or Service) of a Credential.
One example is a shared secret/ password which is defined within the context of an application (or Service).
Generally, there is one scoping element for a Credential, however the multiplicities of the association allow a Credential to be scoped by more than one element.
If this association is not instantiated for a Credential, that Credential is assumed to be scoped to the Namespace.
This association may also be used to indicate that a Credential is valid in some other environment.
For instance associating the Credential to a RemoteServiceAccessPoint would indicate that the Credential is used to access the remote service.
Index ¶
Constants ¶
const CIMCredentialContext string = "CIM_CredentialContext"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Body ¶
type Body struct { XMLName xml.Name `xml:"Body"` PullResponse PullResponse EnumerateResponse common.EnumerateResponse }
Response Types.
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
func NewContextWithClient ¶
func NewContextWithClient(wsmanMessageCreator *message.WSManMessageCreator, client client.WSMan) Context
NewContext returns a new instance of the NewContext struct.
type CredentialContext ¶
type CredentialContext struct { ElementInContext models.AssociationReference `xml:"ElementInContext"` // A Credential whose context is defined. ElementProvidingContext models.AssociationReference `xml:"ElementProvidingContext"` // The ManagedElement that provides context or scope for the Credential. }
Response Types.
type Items ¶ added in v2.5.3
type Items struct { CredentialContext []CredentialContext `xml:"CIM_CredentialContext"` CredentialContextTLS []CredentialContext `xml:"AMT_TLSCredentialContext"` CredentialContext8021x []CredentialContext `xml:"IPS_8021xCredentialContext"` }
Response Types.
type PullResponse ¶
type PullResponse struct { XMLName xml.Name `xml:"PullResponse"` Items Items `xml:"Items"` EndOfSequence xml.Name `xml:"EndOfSequence"` }
Response Types.