Skip to main content

trusted_token_issuers

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

Overview

Nametrusted_token_issuers
TypeResource
Idaws.sso_admin.trusted_token_issuers

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of the trusted token issuer configuration. (pattern: <code>[\w+=,.@-]+</code>)
trusted_token_issuer_arnstringThe ARN of the trusted token issuer configuration. (pattern: <code>arn:aws(-[a-z]{1,5}){0,3}:sso::\d{12}:trustedTokenIssuer/(sso)?ins-[a-zA-Z0-9-.]{16}/tti-[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}</code>)
trusted_token_issuer_configurationobjectA structure the describes the settings that apply of this trusted token issuer.
trusted_token_issuer_typestringThe type of the trusted token issuer. (OIDC_JWT)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_trusted_token_issuerselectregionRetrieves details about a trusted token issuer configuration stored in an instance of IAM Identity Center. Details include the name of the trusted token issuer, the issuer URL, and the path of the source attribute and the destination attribute for a trusted token issuer configuration.
list_trusted_token_issuersselectregionLists all the trusted token issuers configured in an instance of IAM Identity Center.
create_trusted_token_issuerinsertregion, InstanceArn, TrustedTokenIssuerType, TrustedTokenIssuerConfigurationCreates a connection to a trusted token issuer in an instance of IAM Identity Center. A trusted token issuer enables trusted identity propagation to be used with applications that authenticate outside of Amazon Web Services. This trusted token issuer describes an external identity provider (IdP) that can generate claims or assertions in the form of access tokens for a user. Applications enabled for IAM Identity Center can use these tokens for authentication.
update_trusted_token_issuerupdateregion, TrustedTokenIssuerArnUpdates the name of the trusted token issuer, or the path of a source attribute or destination attribute for a trusted token issuer configuration. Updating this trusted token issuer configuration might cause users to lose access to any applications that are configured to use the trusted token issuer.
delete_trusted_token_issuerdeleteregionDeletes a trusted token issuer configuration from an instance of IAM Identity Center. Deleting this trusted token issuer configuration will cause users to lose access to any applications that are configured to use the trusted token issuer.

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
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves details about a trusted token issuer configuration stored in an instance of IAM Identity Center. Details include the name of the trusted token issuer, the issuer URL, and the path of the source attribute and the destination attribute for a trusted token issuer configuration.

SELECT
name,
trusted_token_issuer_arn,
trusted_token_issuer_configuration,
trusted_token_issuer_type
FROM aws.sso_admin.trusted_token_issuers
WHERE region = '{{ region }}' -- required
;

INSERT examples

Creates a connection to a trusted token issuer in an instance of IAM Identity Center. A trusted token issuer enables trusted identity propagation to be used with applications that authenticate outside of Amazon Web Services. This trusted token issuer describes an external identity provider (IdP) that can generate claims or assertions in the form of access tokens for a user. Applications enabled for IAM Identity Center can use these tokens for authentication.

INSERT INTO aws.sso_admin.trusted_token_issuers (
InstanceArn,
Name,
TrustedTokenIssuerType,
TrustedTokenIssuerConfiguration,
ClientToken,
Tags,
region
)
SELECT
'{{ InstanceArn }}' /* required */,
'{{ Name }}',
'{{ TrustedTokenIssuerType }}' /* required */,
'{{ TrustedTokenIssuerConfiguration }}' /* required */,
'{{ ClientToken }}',
'{{ Tags }}',
'{{ region }}'
RETURNING
trusted_token_issuer_arn
;

UPDATE examples

Updates the name of the trusted token issuer, or the path of a source attribute or destination attribute for a trusted token issuer configuration. Updating this trusted token issuer configuration might cause users to lose access to any applications that are configured to use the trusted token issuer.

UPDATE aws.sso_admin.trusted_token_issuers
SET
TrustedTokenIssuerArn = '{{ TrustedTokenIssuerArn }}',
Name = '{{ Name }}',
TrustedTokenIssuerConfiguration = '{{ TrustedTokenIssuerConfiguration }}'
WHERE
region = '{{ region }}' --required
AND TrustedTokenIssuerArn = '{{ TrustedTokenIssuerArn }}' --required;

DELETE examples

Deletes a trusted token issuer configuration from an instance of IAM Identity Center. Deleting this trusted token issuer configuration will cause users to lose access to any applications that are configured to use the trusted token issuer.

DELETE FROM aws.sso_admin.trusted_token_issuers
WHERE region = '{{ region }}' --required
;