Skip to main content

connectors

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

Overview

Nameconnectors
TypeResource
Idaws.pca_connector_scep.connectors

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
arnstringThe Amazon Resource Name (ARN) of the connector. (pattern: <code>arn:aws(-[a-z]+):pca-connector-scep:[a-z]+(-[a-z]+)+-[1-9]\d:\d{12}:connector/[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}</code>)
certificate_authority_arnstringThe Amazon Resource Name (ARN) of the certificate authority associated with the connector. (pattern: <code>arn:aws(-[a-z]+):acm-pca:[a-z]+(-[a-z]+)+-[1-9]\d:\d{12}:certificate-authority/[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}</code>)
created_atstring (date-time)The date and time that the connector was created.
endpointstringThe connector's HTTPS public SCEP URL.
mobile_device_managementobjectIf you don't supply a value, by default Connector for SCEP creates a connector for general-purpose use. A general-purpose connector is designed to work with clients or endpoints that support the SCEP protocol, except Connector for SCEP for Microsoft Intune. For information about considerations and limitations with using Connector for SCEP, see Considerations and Limitations. If you provide an IntuneConfiguration, Connector for SCEP creates a connector for use with Microsoft Intune, and you manage the challenge passwords using Microsoft Intune. For more information, see Using Connector for SCEP for Microsoft Intune.
open_id_configurationobjectContains OpenID Connect (OIDC) parameters for use with Connector for SCEP for Microsoft Intune. For more information about using Connector for SCEP for Microsoft Intune, see Using Connector for SCEP for Microsoft Intune.
statusstringThe connector's status. (CREATING, ACTIVE, DELETING, FAILED)
status_reasonstringInformation about why connector creation failed, if status is FAILED. (INTERNAL_FAILURE, PRIVATECA_ACCESS_DENIED, PRIVATECA_INVALID_STATE, PRIVATECA_RESOURCE_NOT_FOUND, VPC_ENDPOINT_RESOURCE_NOT_FOUND, VPC_ENDPOINT_DNS_ENTRIES_NOT_FOUND)
typestringThe connector type. (GENERAL_PURPOSE, INTUNE)
updated_atstring (date-time)The date and time that the connector was updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_connectorselectconnector_arn, regionRetrieves details about the specified Connector. Calling this action returns important details about the connector, such as the public SCEP URL where your clients can request certificates.
list_connectorsselectregionMaxResults, NextTokenLists the connectors belonging to your Amazon Web Services account.
create_connectorinsertregion, CertificateAuthorityArnCreates a SCEP connector. A SCEP connector links Amazon Web Services Private Certificate Authority to your SCEP-compatible devices and mobile device management (MDM) systems. Before you create a connector, you must complete a set of prerequisites, including creation of a private certificate authority (CA) to use with this connector. For more information, see Connector for SCEP prerequisites.
delete_connectordeleteconnector_arn, regionDeletes the specified Connector. This operation also deletes any challenges associated with the connector.

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
connector_arnstringThe Amazon Resource Name (ARN) of the connector to delete.
regionstringAWS region (default: us-east-1)
MaxResultsintegerThe maximum number of objects that you want Connector for SCEP to return for this request. If more objects are available, in the response, Connector for SCEP provides a NextToken value that you can use in a subsequent call to get the next batch of objects.
NextTokenstringWhen you request a list of objects with a MaxResults setting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Connector for SCEP returns a NextToken value in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.

SELECT examples

Retrieves details about the specified Connector. Calling this action returns important details about the connector, such as the public SCEP URL where your clients can request certificates.

SELECT
arn,
certificate_authority_arn,
created_at,
endpoint,
mobile_device_management,
open_id_configuration,
status,
status_reason,
type,
updated_at
FROM aws.pca_connector_scep.connectors
WHERE connector_arn = '{{ connector_arn }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates a SCEP connector. A SCEP connector links Amazon Web Services Private Certificate Authority to your SCEP-compatible devices and mobile device management (MDM) systems. Before you create a connector, you must complete a set of prerequisites, including creation of a private certificate authority (CA) to use with this connector. For more information, see Connector for SCEP prerequisites.

INSERT INTO aws.pca_connector_scep.connectors (
CertificateAuthorityArn,
MobileDeviceManagement,
VpcEndpointId,
ClientToken,
Tags,
region
)
SELECT
'{{ CertificateAuthorityArn }}' /* required */,
'{{ MobileDeviceManagement }}',
'{{ VpcEndpointId }}',
'{{ ClientToken }}',
'{{ Tags }}',
'{{ region }}'
RETURNING
connector_arn
;

DELETE examples

Deletes the specified Connector. This operation also deletes any challenges associated with the connector.

DELETE FROM aws.pca_connector_scep.connectors
WHERE connector_arn = '{{ connector_arn }}' --required
AND region = '{{ region }}' --required
;