Skip to main content

challenges

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

Overview​

Namechallenges
TypeResource
Idaws.pca_connector_scep.challenges

Fields​

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
create_challengeinsertregion, ConnectorArnFor general-purpose connectors. Creates a challenge password for the specified connector. The SCEP protocol uses a challenge password to authenticate a request before issuing a certificate from a certificate authority (CA). Your SCEP clients include the challenge password as part of their certificate request to Connector for SCEP. To retrieve the connector Amazon Resource Names (ARNs) for the connectors in your account, call ListConnectors. To create additional challenge passwords for the connector, call CreateChallenge again. We recommend frequently rotating your challenge passwords.
delete_challengedeletechallenge_arn, regionDeletes the specified Challenge.

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
challenge_arnstringThe Amazon Resource Name (ARN) of the challenge password to delete.
regionstringAWS region (default: us-east-1)

INSERT examples​

For general-purpose connectors. Creates a challenge password for the specified connector. The SCEP protocol uses a challenge password to authenticate a request before issuing a certificate from a certificate authority (CA). Your SCEP clients include the challenge password as part of their certificate request to Connector for SCEP. To retrieve the connector Amazon Resource Names (ARNs) for the connectors in your account, call ListConnectors. To create additional challenge passwords for the connector, call CreateChallenge again. We recommend frequently rotating your challenge passwords.

INSERT INTO aws.pca_connector_scep.challenges (
ConnectorArn,
ClientToken,
Tags,
region
)
SELECT
'{{ ConnectorArn }}' /* required */,
'{{ ClientToken }}',
'{{ Tags }}',
'{{ region }}'
RETURNING
challenge
;

DELETE examples​

Deletes the specified Challenge.

DELETE FROM aws.pca_connector_scep.challenges
WHERE challenge_arn = '{{ challenge_arn }}' --required
AND region = '{{ region }}' --required
;