MetadataAuthenticationAuthenticationInfo

The AuthenticationInfo structure describes the authentication information. Authentication information could be specified for a package element, service elenent or an operation element. Using the authentication scheme information, a client invoking an API call from any service can figure out what kind of credentials are needed for that API call.


Properties

string
scheme Required

String identifier of the authentication scheme. Following are the supported authentication schemes by the infrastructure:

  • The identifier com.vmware.vapi.std.security.saml_hok_token for SAML holder of key token based authentication mechanism.
  • The identifier com.vmware.vapi.std.security.bearer_token for SAML bearer token based authentication mechanism.
  • The identifier com.vmware.vapi.std.security.session_id for session based authentication mechanism.
  • The identifier com.vmware.vapi.std.security.user_pass for username and password based authentication mechanism.

scheme_type Required

The type of the authentication scheme.

Possible values are: SESSIONLESSSESSION_AWARE


string
session_manager Optional

In a session aware authentication scheme, a session manager is required that supports create, delete and keepAlive operations. The fully qualified service name of the session manager is provided in AuthenticationInfo.session-manager field. This service is responsible for handling sessions. This field is optional and it is only relevant when the value of AuthenticationInfo.scheme-type is SESSION_AWARE.

JSON Example

{
    "scheme": "string",
    "scheme_type": "enum"
}
Feedback

Was this page helpful?