CollapseAll image

Get/Set Credential Cache State

The following steps describe how to get the credential cache state. If set to true, a Kerberos ticket will be sent only once for every TCP connection.

1.  Retrieve the instance of AMT_KerberosSettingData, where the “InstanceID” key equals “Intel (r) AMT: Kerberos Settings”.

2.  To obtain the value of the credential caching state, invoke the GetCredentialCacheState method.

Click here for a snippet demonstrating this step

You can execute this snippet by inserting it into the execution template found here.

  

$kerberosSettingsDataRef =$wsmanConnectionObject.NewReference("SELECT * FROM AMT_KerberosSettingData WHERE InstanceID='Intel (r) AMT: Kerberos Settings'")

$inputObject =$kerberosSettingsDataRef.CreateMethodInput("GetCredentialCacheState")

$outputObject =$kerberosSettingsDataRef.InvokeMethod($inputObject)

$returnValue =$outputObject.GetProperty("ReturnValue")

if($returnValue -like "0")

{

    $enabled =$outputObject.GetProperty("Enabled")

}

 

 

3.  To set the value of the credential caching state, invoke the SetCredentialCacheState method.

Click here for a snippet demonstrating this step

You can execute this snippet by inserting it into the execution template found here.

  

$kerberosSettingsDataRef =$wsmanConnectionObject.NewReference("SELECT * FROM AMT_KerberosSettingData WHERE InstanceID='Intel (r) AMT: Kerberos Settings'")

$inputObject =$kerberosSettingsDataRef.CreateMethodInput("SetCredentialCacheState")

$inputObject.SetProperty("Enable","false")

$outputObject =$kerberosSettingsDataRef.InvokeMethod($inputObject)

$returnValue =$outputObject.GetProperty("ReturnValue")

 

 

 Note:

When configuring the system to work in TLS mode, the credential cache is automatically enabled, and can be disabled only if TLS is disabled.

 

Instance Diagram

Classes Used in This Flow

SDK Sample

Not applicable

 

See Also:

   Integration with Active Directory

   ACL Management Using AMT_AuthorizationService

   ACL Management Using RBA and SIM

Copyright © 2006-2022, Intel Corporation. All rights reserved.