Skip to main content

verified_access_trust_providers

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

Overview

Nameverified_access_trust_providers
TypeResource
Idaws.ec2.verified_access_trust_providers

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
creation_timestringThe creation time.
descriptionstringA description for the Amazon Web Services Verified Access trust provider.
device_optionsstringThe options for device-identity trust provider.
device_trust_provider_typestringThe type of device-based trust provider.
last_updated_timestringThe last updated time.
native_application_oidc_optionsstringThe OpenID Connect (OIDC) options.
oidc_optionsstringThe options for an OpenID Connect-compatible user-identity trust provider.
policy_reference_namestringThe identifier to be used when working with policy rules.
sse_specificationstringThe options in use for server side encryption.
tagsstringThe tags.
trust_provider_typestringThe type of Verified Access trust provider.
user_trust_provider_typestringThe type of user-based trust provider.
verified_access_trust_provider_idstringThe ID of the Amazon Web Services Verified Access trust provider.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_verified_access_trust_providersselectregionVerifiedAccessTrustProviderId, MaxResults, NextToken, Filter, DryRunDescribes the specified Amazon Web Services Verified Access trust providers.
create_verified_access_trust_providerinsertTrustProviderType, PolicyReferenceName, regionUserTrustProviderType, DeviceTrustProviderType, OidcOptions, DeviceOptions, Description, TagSpecification, ClientToken, DryRun, SseSpecification, NativeApplicationOidcOptionsA trust provider is a third-party entity that creates, maintains, and manages identity information for users and devices. When an application request is made, the identity information sent by the trust provider is evaluated by Verified Access before allowing or denying the application request.
attach_verified_access_trust_providerupdateVerifiedAccessInstanceId, VerifiedAccessTrustProviderId, regionClientToken, DryRunAttaches the specified Amazon Web Services Verified Access trust provider to the specified Amazon Web Services Verified Access instance.
modify_verified_access_trust_providerupdateVerifiedAccessTrustProviderId, regionOidcOptions, DeviceOptions, Description, DryRun, ClientToken, SseSpecification, NativeApplicationOidcOptionsModifies the configuration of the specified Amazon Web Services Verified Access trust provider.
delete_verified_access_trust_providerdeleteVerifiedAccessTrustProviderId, regionDryRun, ClientTokenDelete an Amazon Web Services Verified Access trust provider.
detach_verified_access_trust_providerexecVerifiedAccessInstanceId, VerifiedAccessTrustProviderId, regionClientToken, DryRunDetaches the specified Amazon Web Services Verified Access trust provider from the specified Amazon Web Services Verified Access instance.

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
PolicyReferenceNamestringThe identifier to be used when working with policy rules.
TrustProviderTypestringThe type of trust provider.
VerifiedAccessInstanceIdstringThe ID of the Verified Access instance.
VerifiedAccessTrustProviderIdstringThe ID of the Verified Access trust provider.
regionstringAWS region (default: us-east-1)
ClientTokenstringA unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring idempotency.
DescriptionstringA description for the Verified Access trust provider.
DeviceOptionsobjectThe options for a device-based trust provider. This parameter is required when the provider type is device.
DeviceTrustProviderTypestringThe type of device-based trust provider. This parameter is required when the provider type is device.
DryRunbooleanChecks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
FilterarrayOne or more filters. Filter names and values are case-sensitive.
MaxResultsintegerThe maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
NativeApplicationOidcOptionsobjectThe OpenID Connect (OIDC) options.
NextTokenstringThe token for the next page of results.
OidcOptionsobjectThe options for an OpenID Connect-compatible user-identity trust provider.
SseSpecificationobjectThe options for server side encryption.
TagSpecificationarrayThe tags to assign to the Verified Access trust provider.
UserTrustProviderTypestringThe type of user-based trust provider. This parameter is required when the provider type is user.
VerifiedAccessTrustProviderIdarrayThe IDs of the Verified Access trust providers.

SELECT examples

Describes the specified Amazon Web Services Verified Access trust providers.

SELECT
creation_time,
description,
device_options,
device_trust_provider_type,
last_updated_time,
native_application_oidc_options,
oidc_options,
policy_reference_name,
sse_specification,
tags,
trust_provider_type,
user_trust_provider_type,
verified_access_trust_provider_id
FROM aws.ec2.verified_access_trust_providers
WHERE region = '{{ region }}' -- required
AND VerifiedAccessTrustProviderId = '{{ VerifiedAccessTrustProviderId }}'
AND MaxResults = '{{ MaxResults }}'
AND NextToken = '{{ NextToken }}'
AND Filter = '{{ Filter }}'
AND DryRun = '{{ DryRun }}'
;

INSERT examples

A trust provider is a third-party entity that creates, maintains, and manages identity information for users and devices. When an application request is made, the identity information sent by the trust provider is evaluated by Verified Access before allowing or denying the application request.

INSERT INTO aws.ec2.verified_access_trust_providers (
TrustProviderType,
PolicyReferenceName,
region,
UserTrustProviderType,
DeviceTrustProviderType,
OidcOptions,
DeviceOptions,
Description,
TagSpecification,
ClientToken,
DryRun,
SseSpecification,
NativeApplicationOidcOptions
)
SELECT
'{{ TrustProviderType }}',
'{{ PolicyReferenceName }}',
'{{ region }}',
'{{ UserTrustProviderType }}',
'{{ DeviceTrustProviderType }}',
'{{ OidcOptions }}',
'{{ DeviceOptions }}',
'{{ Description }}',
'{{ TagSpecification }}',
'{{ ClientToken }}',
'{{ DryRun }}',
'{{ SseSpecification }}',
'{{ NativeApplicationOidcOptions }}'
RETURNING
creation_time,
description,
device_options,
device_trust_provider_type,
last_updated_time,
native_application_oidc_options,
oidc_options,
policy_reference_name,
sse_specification,
tags,
trust_provider_type,
user_trust_provider_type,
verified_access_trust_provider_id
;

UPDATE examples

Attaches the specified Amazon Web Services Verified Access trust provider to the specified Amazon Web Services Verified Access instance.

UPDATE aws.ec2.verified_access_trust_providers
SET
-- No updatable properties
WHERE
VerifiedAccessInstanceId = '{{ VerifiedAccessInstanceId }}' --required
AND VerifiedAccessTrustProviderId = '{{ VerifiedAccessTrustProviderId }}' --required
AND region = '{{ region }}' --required
AND ClientToken = '{{ ClientToken}}'
AND DryRun = {{ DryRun}}
RETURNING
creation_time,
description,
device_options,
device_trust_provider_type,
last_updated_time,
native_application_oidc_options,
oidc_options,
policy_reference_name,
sse_specification,
tags,
trust_provider_type,
user_trust_provider_type,
verified_access_trust_provider_id;

DELETE examples

Delete an Amazon Web Services Verified Access trust provider.

DELETE FROM aws.ec2.verified_access_trust_providers
WHERE VerifiedAccessTrustProviderId = '{{ VerifiedAccessTrustProviderId }}' --required
AND region = '{{ region }}' --required
AND DryRun = '{{ DryRun }}'
AND ClientToken = '{{ ClientToken }}'
;

Lifecycle Methods

Detaches the specified Amazon Web Services Verified Access trust provider from the specified Amazon Web Services Verified Access instance.

EXEC aws.ec2.verified_access_trust_providers.detach_verified_access_trust_provider
@VerifiedAccessInstanceId='{{ VerifiedAccessInstanceId }}' --required,
@VerifiedAccessTrustProviderId='{{ VerifiedAccessTrustProviderId }}' --required,
@region='{{ region }}' --required,
@ClientToken='{{ ClientToken }}',
@DryRun={{ DryRun }}
;