Skip to main content

connectors

Creates, updates, deletes or gets a connector resource or lists connectors in a region

Overview

Nameconnectors
TypeResource
DescriptionRepresents a Connector that allows certificate issuance through Simple Certificate Enrollment Protocol (SCEP)
Idaws.pcaconnectorscep.connectors

Fields

NameDatatypeDescription
certificate_authority_arnstring
connector_arnstring
typestring
endpointstring
mobile_device_managementobject
open_id_configurationobject
tagsobject
regionstringAWS region.

For more information, see AWS::PCAConnectorSCEP::Connector.

Methods

NameAccessible byRequired Params
create_resourceINSERTCertificateAuthorityArn, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all connectors in a region.

SELECT
region,
certificate_authority_arn,
connector_arn,
type,
endpoint,
mobile_device_management,
open_id_configuration,
tags
FROM aws.pcaconnectorscep.connectors
WHERE region = 'us-east-1';

Gets all properties from an individual connector.

SELECT
region,
certificate_authority_arn,
connector_arn,
type,
endpoint,
mobile_device_management,
open_id_configuration,
tags
FROM aws.pcaconnectorscep.connectors
WHERE region = 'us-east-1' AND data__Identifier = '<ConnectorArn>';

INSERT example

Use the following StackQL query and manifest file to create a new connector resource, using stack-deploy.

/*+ create */
INSERT INTO aws.pcaconnectorscep.connectors (
CertificateAuthorityArn,
region
)
SELECT
'{{ CertificateAuthorityArn }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.pcaconnectorscep.connectors
WHERE data__Identifier = '<ConnectorArn>'
AND region = 'us-east-1';

Permissions

To operate on the connectors resource, the following permissions are required:

Create

acm-pca:DescribeCertificateAuthority,
acm-pca:GetCertificate,
acm-pca:GetCertificateAuthorityCertificate,
acm-pca:IssueCertificate,
pca-connector-scep:GetConnector,
pca-connector-scep:CreateConnector,
pca-connector-scep:TagResource

Read

pca-connector-scep:ListTagsForResource,
pca-connector-scep:GetConnector

Delete

acm-pca:DescribeCertificateAuthority,
acm-pca:GetCertificate,
acm-pca:GetCertificateAuthorityCertificate,
acm-pca:IssueCertificate,
pca-connector-scep:GetConnector,
pca-connector-scep:DeleteConnector,
pca-connector-scep:UntagResource

List

pca-connector-scep:ListConnectors

Update

pca-connector-scep:ListTagsForResource,
pca-connector-scep:TagResource,
pca-connector-scep:UntagResource