Skip to main content

Create Authority

With OTPKI prepared, connect it to the platform as an Authority. The Authority holds the address of the OTPKI installation and the credentials the connector authenticates with.

Store the OAuth client credentials

The client ID and client secret from Create OAuth Client are supplied to the connector as a Secret. Create a Secret of type Basic Authentication through a Vault Profile:

FieldValue
UsernameThe client ID
PasswordThe client secret

The OAuth client attribute of the Authority lists only secrets of this type.

Create the Authority

Create an Authority that uses the OTPKI Connector, see Create Authority for the general procedure. The connector defines the following attributes:

AttributeRequiredDescription
Base URLYesAddress of the OTPKI server, for example https://otpki.example.com
Token URLYesToken endpoint of the identity provider that issues the access tokens
OAuth clientYesThe Basic Authentication secret holding the client ID and the client secret
OAuth scopeNoScope requested with the access token. Leave empty unless the identity provider requires one
OAuth audienceNoAudience requested with the access token. Leave empty unless the identity provider requires one
TLS trustNoRoot CA and intermediate CA certificates to trust when connecting. Leave empty when a public CA is used
Call deadline (ms)NoMaximum time to wait for a single call to OTPKI. Default 30000
Retry max attemptsNoHow often a read-only call is retried when OTPKI is briefly unavailable. Default 3
Retry initial backoff (ms)NoWait time before the first retry. Default 500
Retry max backoff (ms)NoUpper bound on the wait time between retries. Default 5000
TLS trust

Use TLS trust when the OTPKI server or the identity provider is served by a private certification authority that is not in the trust store of the connector. The certificates selected here are trusted for both connections, so add the issuing CA certificates of whichever of the two endpoints needs them. The attribute lists only certificates in the platform inventory that are classified as root CA or intermediate CA certificates.

Only read-only calls are retried. Calls that change state in OTPKI, such as creating an end entity or submitting an enrollment, are never retried, so that a timeout cannot result in a duplicate end entity or a duplicate certificate.

Saving the Authority runs a connection check that lists the certification authorities in OTPKI. A successful result confirms that the connector reaches OTPKI, that the access token is accepted, and that the role of the connector grants at least read access to the certification authorities.