2024/06/11 - Private CA Connector for SCEP - 12 new api methods
Changes Connector for SCEP allows you to use a managed, cloud CA to enroll mobile devices and networking gear. SCEP is a widely-adopted protocol used by mobile device management (MDM) solutions for enrolling mobile devices. With the connector, you can use AWS Private CA with popular MDM solutions.
Deletes the specified Challenge.
See also: AWS API Documentation
Request Syntax
client.delete_challenge( ChallengeArn='string' )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the challenge password to delete.
None
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.
See also: AWS API Documentation
Request Syntax
client.create_connector( CertificateAuthorityArn='string', MobileDeviceManagement={ 'Intune': { 'AzureApplicationId': 'string', 'Domain': 'string' } }, ClientToken='string', Tags={ 'string': 'string' } )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the Amazon Web Services Private Certificate Authority certificate authority to use with this connector. Due to security vulnerabilities present in the SCEP protocol, we recommend using a private CA that's dedicated for use with the connector.
To retrieve the private CAs associated with your account, you can call ListCertificateAuthorities using the Amazon Web Services Private CA API.
dict
If 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. With connectors for general-purpose use, you manage SCEP challenge passwords using Connector for SCEP. 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.
Intune (dict) --
Configuration settings for use with Microsoft Intune. For information about using Connector for SCEP for Microsoft Intune, see Using Connector for SCEP for Microsoft Intune.
AzureApplicationId (string) -- [REQUIRED]
The directory (tenant) ID from your Microsoft Entra ID app registration.
Domain (string) -- [REQUIRED]
The primary domain from your Microsoft Entra ID app registration.
string
Custom string that can be used to distinguish between calls to the CreateChallenge action. Client tokens for CreateChallenge time out after five minutes. Therefore, if you call CreateChallenge multiple times with the same client token within five minutes, Connector for SCEP recognizes that you are requesting only one challenge and will only respond with one. If you change the client token for each call, Connector for SCEP recognizes that you are requesting multiple challenge passwords.
This field is autopopulated if not provided.
dict
The key-value pairs to associate with the resource.
(string) --
(string) --
dict
Response Syntax
{ 'ConnectorArn': 'string' }
Response Structure
(dict) --
ConnectorArn (string) --
Returns the Amazon Resource Name (ARN) of the connector.
Adds one or more tags to your resource.
See also: AWS API Documentation
Request Syntax
client.tag_resource( ResourceArn='string', Tags={ 'string': 'string' } )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the resource.
dict
[REQUIRED]
The key-value pairs to associate with the resource.
(string) --
(string) --
None
Retrieves the metadata for the specified Challenge.
See also: AWS API Documentation
Request Syntax
client.get_challenge_metadata( ChallengeArn='string' )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the challenge.
dict
Response Syntax
{ 'ChallengeMetadata': { 'Arn': 'string', 'ConnectorArn': 'string', 'CreatedAt': datetime(2015, 1, 1), 'UpdatedAt': datetime(2015, 1, 1) } }
Response Structure
(dict) --
ChallengeMetadata (dict) --
The metadata for the challenge.
Arn (string) --
The Amazon Resource Name (ARN) of the challenge.
ConnectorArn (string) --
The Amazon Resource Name (ARN) of the connector.
CreatedAt (datetime) --
The date and time that the connector was created.
UpdatedAt (datetime) --
The date and time that the connector was updated.
Retrieves the challenge password for the specified Challenge.
See also: AWS API Documentation
Request Syntax
client.get_challenge_password( ChallengeArn='string' )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the challenge.
dict
Response Syntax
{ 'Password': 'string' }
Response Structure
(dict) --
Password (string) --
The SCEP challenge password.
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.
See also: AWS API Documentation
Request Syntax
client.get_connector( ConnectorArn='string' )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the connector.
dict
Response Syntax
{ 'Connector': { 'Arn': 'string', 'CertificateAuthorityArn': 'string', 'Type': 'GENERAL_PURPOSE'|'INTUNE', 'MobileDeviceManagement': { 'Intune': { 'AzureApplicationId': 'string', 'Domain': 'string' } }, 'OpenIdConfiguration': { 'Issuer': 'string', 'Subject': 'string', 'Audience': 'string' }, 'Status': 'CREATING'|'ACTIVE'|'DELETING'|'FAILED', 'StatusReason': 'INTERNAL_FAILURE'|'PRIVATECA_ACCESS_DENIED'|'PRIVATECA_INVALID_STATE'|'PRIVATECA_RESOURCE_NOT_FOUND', 'Endpoint': 'string', 'CreatedAt': datetime(2015, 1, 1), 'UpdatedAt': datetime(2015, 1, 1) } }
Response Structure
(dict) --
Connector (dict) --
The properties of the connector.
Arn (string) --
The Amazon Resource Name (ARN) of the connector.
CertificateAuthorityArn (string) --
The Amazon Resource Name (ARN) of the certificate authority associated with the connector.
Type (string) --
The connector type.
MobileDeviceManagement (dict) --
Contains settings relevant to the mobile device management system that you chose for the connector. If you didn't configure MobileDeviceManagement, then the connector is for general-purpose use and this object is empty.
Intune (dict) --
Configuration settings for use with Microsoft Intune. For information about using Connector for SCEP for Microsoft Intune, see Using Connector for SCEP for Microsoft Intune.
AzureApplicationId (string) --
The directory (tenant) ID from your Microsoft Entra ID app registration.
Domain (string) --
The primary domain from your Microsoft Entra ID app registration.
OpenIdConfiguration (dict) --
Contains 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.
Issuer (string) --
The issuer value to copy into your Microsoft Entra app registration's OIDC.
Subject (string) --
The subject value to copy into your Microsoft Entra app registration's OIDC.
Audience (string) --
The audience value to copy into your Microsoft Entra app registration's OIDC.
Status (string) --
The connector's status.
StatusReason (string) --
Information about why connector creation failed, if status is FAILED.
Endpoint (string) --
The connector's HTTPS public SCEP URL.
CreatedAt (datetime) --
The date and time that the connector was created.
UpdatedAt (datetime) --
The date and time that the connector was updated.
Retrieves the challenge metadata for the specified ARN.
See also: AWS API Documentation
Request Syntax
client.list_challenge_metadata( MaxResults=123, NextToken='string', ConnectorArn='string' )
integer
The 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.
string
When 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.
string
[REQUIRED]
The Amazon Resource Name (ARN) of the connector.
dict
Response Syntax
{ 'Challenges': [ { 'Arn': 'string', 'ConnectorArn': 'string', 'CreatedAt': datetime(2015, 1, 1), 'UpdatedAt': datetime(2015, 1, 1) }, ], 'NextToken': 'string' }
Response Structure
(dict) --
Challenges (list) --
The challenge metadata for the challenges belonging to your Amazon Web Services account.
(dict) --
Details about the specified challenge, returned by the GetChallengeMetadata action.
Arn (string) --
The Amazon Resource Name (ARN) of the challenge.
ConnectorArn (string) --
The Amazon Resource Name (ARN) of the connector.
CreatedAt (datetime) --
The date and time that the challenge was created.
UpdatedAt (datetime) --
The date and time that the challenge was updated.
NextToken (string) --
When 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.
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.
See also: AWS API Documentation
Request Syntax
client.create_challenge( ConnectorArn='string', ClientToken='string', Tags={ 'string': 'string' } )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the connector that you want to create a challenge for.
string
Custom string that can be used to distinguish between calls to the CreateChallenge action. Client tokens for CreateChallenge time out after five minutes. Therefore, if you call CreateChallenge multiple times with the same client token within five minutes, Connector for SCEP recognizes that you are requesting only one challenge and will only respond with one. If you change the client token for each call, Connector for SCEP recognizes that you are requesting multiple challenge passwords.
This field is autopopulated if not provided.
dict
The key-value pairs to associate with the resource.
(string) --
(string) --
dict
Response Syntax
{ 'Challenge': { 'Arn': 'string', 'ConnectorArn': 'string', 'CreatedAt': datetime(2015, 1, 1), 'UpdatedAt': datetime(2015, 1, 1), 'Password': 'string' } }
Response Structure
(dict) --
Challenge (dict) --
Returns the challenge details for the specified connector.
Arn (string) --
The Amazon Resource Name (ARN) of the challenge.
ConnectorArn (string) --
The Amazon Resource Name (ARN) of the connector.
CreatedAt (datetime) --
The date and time that the challenge was created.
UpdatedAt (datetime) --
The date and time that the challenge was updated.
Password (string) --
The SCEP challenge password, in UUID format.
Removes one or more tags from your resource.
See also: AWS API Documentation
Request Syntax
client.untag_resource( ResourceArn='string', TagKeys=[ 'string', ] )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the resource.
list
[REQUIRED]
Specifies a list of tag keys that you want to remove from the specified resources.
(string) --
None
Retrieves the tags associated with the specified resource. Tags are key-value pairs that you can use to categorize and manage your resources, for purposes like billing. For example, you might set the tag key to "customer" and the value to the customer name or ID. You can specify one or more tags to add to each Amazon Web Services resource, up to 50 tags for a resource.
See also: AWS API Documentation
Request Syntax
client.list_tags_for_resource( ResourceArn='string' )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the resource.
dict
Response Syntax
{ 'Tags': { 'string': 'string' } }
Response Structure
(dict) --
Tags (dict) --
The key-value pairs to associate with the resource.
(string) --
(string) --
Deletes the specified Connector. This operation also deletes any challenges associated with the connector.
See also: AWS API Documentation
Request Syntax
client.delete_connector( ConnectorArn='string' )
string
[REQUIRED]
The Amazon Resource Name (ARN) of the connector to delete.
None
Lists the connectors belonging to your Amazon Web Services account.
See also: AWS API Documentation
Request Syntax
client.list_connectors( MaxResults=123, NextToken='string' )
integer
The 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.
string
When 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.
dict
Response Syntax
{ 'Connectors': [ { 'Arn': 'string', 'CertificateAuthorityArn': 'string', 'Type': 'GENERAL_PURPOSE'|'INTUNE', 'MobileDeviceManagement': { 'Intune': { 'AzureApplicationId': 'string', 'Domain': 'string' } }, 'OpenIdConfiguration': { 'Issuer': 'string', 'Subject': 'string', 'Audience': 'string' }, 'Status': 'CREATING'|'ACTIVE'|'DELETING'|'FAILED', 'StatusReason': 'INTERNAL_FAILURE'|'PRIVATECA_ACCESS_DENIED'|'PRIVATECA_INVALID_STATE'|'PRIVATECA_RESOURCE_NOT_FOUND', 'Endpoint': 'string', 'CreatedAt': datetime(2015, 1, 1), 'UpdatedAt': datetime(2015, 1, 1) }, ], 'NextToken': 'string' }
Response Structure
(dict) --
Connectors (list) --
The connectors belonging to your Amazon Web Services account.
(dict) --
Lists the Amazon Web Services Private CA SCEP connectors belonging to your Amazon Web Services account.
Arn (string) --
The Amazon Resource Name (ARN) of the connector.
CertificateAuthorityArn (string) --
The Amazon Resource Name (ARN) of the connector's associated certificate authority.
Type (string) --
The connector type.
MobileDeviceManagement (dict) --
Contains settings relevant to the mobile device management system that you chose for the connector. If you didn't configure MobileDeviceManagement, then the connector is for general-purpose use and this object is empty.
Intune (dict) --
Configuration settings for use with Microsoft Intune. For information about using Connector for SCEP for Microsoft Intune, see Using Connector for SCEP for Microsoft Intune.
AzureApplicationId (string) --
The directory (tenant) ID from your Microsoft Entra ID app registration.
Domain (string) --
The primary domain from your Microsoft Entra ID app registration.
OpenIdConfiguration (dict) --
Contains OpenID Connect (OIDC) parameters for use with Microsoft Intune.
Issuer (string) --
The issuer value to copy into your Microsoft Entra app registration's OIDC.
Subject (string) --
The subject value to copy into your Microsoft Entra app registration's OIDC.
Audience (string) --
The audience value to copy into your Microsoft Entra app registration's OIDC.
Status (string) --
The connector's status. Status can be creating, active, deleting, or failed.
StatusReason (string) --
Information about why connector creation failed, if status is FAILED.
Endpoint (string) --
The connector's HTTPS public SCEP URL.
CreatedAt (datetime) --
The date and time that the challenge was created.
UpdatedAt (datetime) --
The date and time that the challenge was updated.
NextToken (string) --
When 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.