Dynamic Attribute Provisioning Service (DAPS)
The infrastructure component "Dynamic Attribute Provisioning Service" (DAPS) in a given IDS ecosystem enables enrichment of identities of organisations and connectors with additional attributes.
DAPS can be understood (like the Certificate Authority, too) as building block of the construct of an IDS Identity Provider.
Since the DAPS trust building service, its X.509 certificate (used for TLS connections) must be signed by the same CA that issues connector identities (e.g., a central IDS CA).
These attributes are embedded by the DAPS into a Dynamic Attribute Token (DAT). The advantages of this technique of dynamic attribute provisioning instead of embedding them into X.509 certificates are:
Attribute revocation does not enforce certificate revocation and re-issuance. This is also true if new attributes are added.
By defining scopes or attribute sets, only the needed attributes can be included in the DAT. This limits information leakage, so only needed attributes are communicated.
Baseline certificates can be issued to enable connector deployment in uncomplicated manner.
More complex scenarios can be created as soon as attributes are assigned later on.
Server Metadata
A compliant DAPS MUST offer Server Metadata according to RFC 8414.
Connectors SHOULD use these values to determine the relevant OAuth configuration for the server from its issuer identifier.
In particular, the following values are relevant to a connector:
issuer
MUST match theiss
claim in any DAT.token_endpoint
is the endpoint to request a DAT.jwks_uri
is the endpoint to acquire the validation keys for a DAT.
Example
Assuming a dataspace has a DAPS with an issuer identifier of https://daps.example.org/some/path
, then the metadata would be located at https://daps.example.org/.well-known/oauth-authorization-server/some/path
.
Aquiring this document via an HTTP GET request results in a JSON formatted document like this:
Note that the object may have several other members. Their meaning is defined by the corresponding OAuth specifications. It shall be noted here that unrecognized values MUST be ignored.
Token Request
To request a Dynamic Attribute Token, a connector must send an OAuth2 Access Token Request with a Client Credentials Grant Type to the corresponding DAPS Token Endpoint. As authentication mechanism, a JWT-Bearer-Token type Client Assertion is used. The OAuth client ID is the connector's ID.
The scope determines the set of attributes to be requested from the DAPS. This version of IDS-G defines the scope idsc:IDS_CONNECTOR_ATTRIBUTES_ALL
, which includes all IDS Attributes available to the DAPS.
Future revisions of this document may define additional request parameters.
Example
The following is a non-normative and abbreviated example of a DAT request. Line breaks are purely for readability purposes.
Token Response
The DAPS issues the requested DAT, or an error response, as per RFC 6749. The Access Token ("the DAT") itself is a JWS adhering to RFC 9068, which in turn contains JSON-LD encoded data in addition to the standard claims, subject to the following additional constraints:
The DAT MUST be signed using a digital signature scheme. It SHOULD be limited to a short time period (Recommendation: 1 hour). The default resource indicator to be used in the DAT includes idsc:IDS_CONNECTORS_ALL
, which SHOULD be accepted by all connectors. Future revisions of this document may allow for mechanisms to specify connectors to be listed in the aud
claim such as through RFC 8707.
Additional claims may optionally be present. This specification defines the following:
referringConnector An optional URI of the subject. Is used to connect identifier of the connector with the self-description identifier as defined by the IDS Information Model. A receiving connector can use this information to request more information at a Broker or directly by dereferencing this URI.
transportCertsSha256 Contains the public keys of the used transport certificates, hashed using SHA256. The identifying X509 certificate should not be used for the communication encryption. Therefore, the receiving party needs to connect the identity of a connector by relating its hostname (from the communication encryption layer) and the used private/public key pair, with its IDS identity claim of the DAT. The public transportation key must be one of the
transportCertsSha256
values. Otherwise, the receiving connector must expect that the requesting connector is using a false identity claim. In general, this claim holds an Array of Strings, but it may optionally hold a single String instead if the Array would have exactly one element.extendedGuarantee In case a connector fulfills a certain security profile but deviates for a subset of attributes, it can inform the receiving connector about its actual security features. This can only happen if a connector reaches a higher level for a certain security attribute than the actual reached certification asks for. A deviation to lower levels is not possible, as this would directly invalidate the complete certification level. In general, this claim holds an Array of Strings, but it may optionally hold a single String instead if the Array would have exactly one element.
Example
The following is an example of a sucessful response:
The decoded DAT, including header and payload is shown below:
Dynamic Claims Request
A connector MAY request certain DAT claims to be issued with specified values according to draft-spencer-oauth-claims-01. The resource sink for a DAT is access_token
. It is at the sole discretion of the DAPS to decide whether or not to grant the request, and a DAT may be successfully issued even if the request is ignored.
DAPS Implementations MUST take great care not to grant requests that would grant a connector additional rights or allow it to masquerade as another connector. In particular, all claims defined by RFC 9068 and all claims that are JSON-LD specific MUST NOT be chosen by client requests. DAPS implementations are advised to explicitly white-list any requestable claims and to check requested values as appropriate.
To allow clients to specify their own transport certificates, DAPS implementations should support specifying values for the transportCertsSha256 claim.
Example
A typical request might look like this:
where the Claims Request is an encoded JSON object like the following:
See also:
Shortcuts:
DAT
,DAPS
Last updated