Skip to main content

public_key_infrastructure_certificate_based_auth_configurations

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

Overview

Namepublic_key_infrastructure_certificate_based_auth_configurations
TypeResource
Identra_id.directory.public_key_infrastructure_certificate_based_auth_configurations

Fields

The following fields are returned by SELECT queries:

Retrieved navigation property

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
certificateAuthoritiesarrayThe collection of certificate authorities contained in this public key infrastructure resource.
deletedDateTimestring (date-time)Date and time when this object was deleted. Always null when the object hasn't been deleted. (pattern: ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$)
displayNamestringThe name of the object. Maximum length is 256 characters.
lastModifiedDateTimestring (date-time)The date and time when the object was created or last modified. (pattern: ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$)
statusstringThe status of any asynchronous jobs runs on the object which can be upload or delete.
statusDetailsstringThe status details of the upload/deleted operation of PKI (Public Key Infrastructure).

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectcertificate_based_auth_pki_idRead the properties and relationships of a certificateBasedAuthPki object.
listselectGet a list of the certificateBasedAuthPki objects and their properties.
insertinsertCreate a new certificateBasedAuthPki object.
updateupdatecertificate_based_auth_pki_idUpdate the properties of a certificateBasedAuthPki object.
deletedeletecertificate_based_auth_pki_idIf-MatchDelete a certificateBasedAuthPki object.
uploadexeccertificate_based_auth_pki_idAppend additional certificate authority details to a certificateBasedAuthPki resource. Only one operation can run at a time and this operation can take up to 30 minutes to complete. To know whether another upload is in progress, call the Get certificateBasedAuthPki. The status property will have the value running.

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
certificate_based_auth_pki_idstringThe unique identifier of certificateBasedAuthPki
If-MatchstringETag

SELECT examples

Read the properties and relationships of a certificateBasedAuthPki object.

SELECT
id,
certificateAuthorities,
deletedDateTime,
displayName,
lastModifiedDateTime,
status,
statusDetails
FROM entra_id.directory.public_key_infrastructure_certificate_based_auth_configurations
WHERE certificate_based_auth_pki_id = '{{ certificate_based_auth_pki_id }}' -- required
;

INSERT examples

Create a new certificateBasedAuthPki object.

INSERT INTO entra_id.directory.public_key_infrastructure_certificate_based_auth_configurations (
id,
deletedDateTime,
displayName,
lastModifiedDateTime,
status,
statusDetails,
certificateAuthorities
)
SELECT
'{{ id }}',
'{{ deletedDateTime }}',
'{{ displayName }}',
'{{ lastModifiedDateTime }}',
'{{ status }}',
'{{ statusDetails }}',
'{{ certificateAuthorities }}'
RETURNING
id,
certificateAuthorities,
deletedDateTime,
displayName,
lastModifiedDateTime,
status,
statusDetails
;

UPDATE examples

Update the properties of a certificateBasedAuthPki object.

UPDATE entra_id.directory.public_key_infrastructure_certificate_based_auth_configurations
SET
id = '{{ id }}',
deletedDateTime = '{{ deletedDateTime }}',
displayName = '{{ displayName }}',
lastModifiedDateTime = '{{ lastModifiedDateTime }}',
status = '{{ status }}',
statusDetails = '{{ statusDetails }}',
certificateAuthorities = '{{ certificateAuthorities }}'
WHERE
certificate_based_auth_pki_id = '{{ certificate_based_auth_pki_id }}' --required
RETURNING
id,
certificateAuthorities,
deletedDateTime,
displayName,
lastModifiedDateTime,
status,
statusDetails;

DELETE examples

Delete a certificateBasedAuthPki object.

DELETE FROM entra_id.directory.public_key_infrastructure_certificate_based_auth_configurations
WHERE certificate_based_auth_pki_id = '{{ certificate_based_auth_pki_id }}' --required
AND If-Match = '{{ If-Match }}'
;

Lifecycle Methods

Append additional certificate authority details to a certificateBasedAuthPki resource. Only one operation can run at a time and this operation can take up to 30 minutes to complete. To know whether another upload is in progress, call the Get certificateBasedAuthPki. The status property will have the value running.

EXEC entra_id.directory.public_key_infrastructure_certificate_based_auth_configurations.upload
@certificate_based_auth_pki_id='{{ certificate_based_auth_pki_id }}' --required
@@json=
'{
"uploadUrl": "{{ uploadUrl }}",
"sha256FileHash": "{{ sha256FileHash }}"
}'
;