Skip to main content

public_keys

Creates, updates, deletes, gets or lists a public_keys resource.

Overview

Namepublic_keys
TypeResource
Idokta.hook_keys.public_keys

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
algstringAlgorithm used in the key
estringRSA key value (exponent) for key binding
kidstringUnique identifier for the certificate
ktystringCryptographic algorithm family for the certificate's keypair
nstringRSA key value (modulus) for key binding
usestringAcceptable use of the certificate

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_public_keyselectsubdomainRetrieves a public key by keyId

>Note: keyId is the alias of the public key.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
subdomainstringThe domain of your organization. This can be a provided subdomain of an official okta domain (okta.com, oktapreview.com, etc) or one of your configured custom domains. (default: my-org)

SELECT examples

Retrieves a public key by keyId

>Note: keyId is the alias of the public key.

SELECT
alg,
e,
kid,
kty,
n,
use
FROM okta.hook_keys.public_keys
WHERE subdomain = '{{ subdomain }}' -- required
;