Skip to main content

verified_access_trust_providers

Creates, updates, deletes or gets a verified_access_trust_provider resource or lists verified_access_trust_providers in a region

Overview

Nameverified_access_trust_providers
TypeResource
DescriptionThe AWS::EC2::VerifiedAccessTrustProvider type describes a verified access trust provider
Idaws.ec2.verified_access_trust_providers

Fields

NameDatatypeDescription
trust_provider_typestringType of trust provider. Possible values: user|device
device_trust_provider_typestringThe type of device-based trust provider. Possible values: jamf|crowdstrike
user_trust_provider_typestringThe type of device-based trust provider. Possible values: oidc|iam-identity-center
oidc_optionsobjectThe OpenID Connect details for an oidc -type, user-identity based trust provider.
device_optionsobjectThe options for device identity based trust providers.
policy_reference_namestringThe identifier to be used when working with policy rules.
creation_timestringThe creation time.
last_updated_timestringThe last updated time.
verified_access_trust_provider_idstringThe ID of the Amazon Web Services Verified Access trust provider.
descriptionstringA description for the Amazon Web Services Verified Access trust provider.
tagsarrayAn array of key-value pairs to apply to this resource.
sse_specificationobjectThe configuration options for customer provided KMS encryption.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTTrustProviderType, PolicyReferenceName, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all verified_access_trust_providers in a region.

SELECT
region,
trust_provider_type,
device_trust_provider_type,
user_trust_provider_type,
oidc_options,
device_options,
policy_reference_name,
creation_time,
last_updated_time,
verified_access_trust_provider_id,
description,
tags,
sse_specification
FROM aws.ec2.verified_access_trust_providers
WHERE region = 'us-east-1';

Gets all properties from an individual verified_access_trust_provider.

SELECT
region,
trust_provider_type,
device_trust_provider_type,
user_trust_provider_type,
oidc_options,
device_options,
policy_reference_name,
creation_time,
last_updated_time,
verified_access_trust_provider_id,
description,
tags,
sse_specification
FROM aws.ec2.verified_access_trust_providers
WHERE region = 'us-east-1' AND data__Identifier = '<VerifiedAccessTrustProviderId>';

INSERT example

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

/*+ create */
INSERT INTO aws.ec2.verified_access_trust_providers (
TrustProviderType,
PolicyReferenceName,
region
)
SELECT
'{{ TrustProviderType }}',
'{{ PolicyReferenceName }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.ec2.verified_access_trust_providers
WHERE data__Identifier = '<VerifiedAccessTrustProviderId>'
AND region = 'us-east-1';

Permissions

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

Create

ec2:CreateVerifiedAccessTrustProvider,
ec2:DescribeVerifiedAccessTrustProviders,
ec2:CreateTags,
ec2:DescribeTags,
sso:GetSharedSsoConfiguration,
kms:DescribeKey,
kms:RetireGrant,
kms:CreateGrant,
kms:GenerateDataKey,
kms:Decrypt

Read

ec2:DescribeVerifiedAccessTrustProviders,
ec2:DescribeTags,
kms:DescribeKey,
kms:GenerateDataKey,
kms:Decrypt

Update

ec2:ModifyVerifiedAccessTrustProvider,
ec2:DescribeVerifiedAccessTrustProviders,
ec2:DescribeTags,
ec2:DeleteTags,
ec2:CreateTags,
kms:DescribeKey,
kms:RetireGrant,
kms:CreateGrant,
kms:GenerateDataKey,
kms:Decrypt

Delete

ec2:DeleteVerifiedAccessTrustProvider,
ec2:DeleteTags,
ec2:DescribeVerifiedAccessTrustProviders,
ec2:DescribeTags,
kms:DescribeKey,
kms:RetireGrant,
kms:CreateGrant,
kms:GenerateDataKey,
kms:Decrypt

List

ec2:DescribeVerifiedAccessTrustProviders,
ec2:DescribeTags,
kms:DescribeKey,
kms:GenerateDataKey,
kms:Decrypt