Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the token type and key for a specific security token.
<microsoft.web.services3> Element
<tokenIssuer> Element
<serviceToken> Element
<KeyInfo> Element
<SecurityTokenReference>
<KeyIdentifier ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509SubjectKeyIdentifier">
ZPGrPnuqATeSgVjLYcmiY/GSWWY=
</wsse:KeyIdentifier>
</SecurityTokenReference>
Attributes and Elements
Attributes
None
Child Elements
Element | Description |
---|---|
Specifies the key identifier for a security token. |
Parent Elements
Element | Description |
---|---|
Specifies the requirements for security tokens used to encrypt SOAP messages. |
Remarks
When issuing security tokens, use the <SecurityTokenReference> element to specify a security token within a <serviceToken> Element element. For more details about issuing security tokens, see Establishing a Secure Conversation.
Example
The following code example specifies an X509SecurityToken with a specific key to encrypt the session key in the responses for security token requests.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<microsoft.web.services3>
<tokenIssuer>
<serviceToken>
<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
<wsse:SecurityTokenReference
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:KeyIdentifier ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509SubjectKeyIdentifier">
ZPGrPnuqATeSgVjLYcmiY/GSWWY=
</wsse:KeyIdentifier>
</wsse:SecurityTokenReference>
</KeyInfo>
</serviceToken>
</tokenIssuer>
</microsoft.web.services3>
</configuration>