OpenIdConnectConfigurationProperty Struct
Contains configuration details of an OpenID Connect (OIDC) identity provider, or identity source, that Verified Permissions can use to generate entities from authenticated identities.
It specifies the issuer URL, token type that you want to use, and policy store entity details.
This data type is part of a Configuration structure, which is a parameter to CreateIdentitySource .
- Source
- Generated code
- Type last changed
- v2.148.0 · 5 Jul 2024
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_verifiedpermissions as verifiedpermissions } from 'aws-cdk-lib';
const openIdConnectConfigurationProperty: verifiedpermissions.CfnIdentitySource.OpenIdConnectConfigurationProperty = {
issuer: 'issuer',
tokenSelection: {
accessTokenOnly: {
audiences: ['audiences'],
principalIdClaim: 'principalIdClaim',
},
identityTokenOnly: {
clientIds: ['clientIds'],
principalIdClaim: 'principalIdClaim',
},
},
// the properties below are optional
entityIdPrefix: 'entityIdPrefix',
groupConfiguration: {
groupClaim: 'groupClaim',
groupEntityType: 'groupEntityType',
},
};
Properties
entityIdPrefix?optionalstringentity_id_prefix?optionalstrentityIdPrefix?optionalStringEntityIdPrefix?optionalstringEntityIdPrefix?optional*string#For example, if you set an entityIdPrefix of MyOIDCProvider , you can reference principals in your policies in the format MyCorp::User::MyOIDCProvider|Carlos .
groupConfiguration?optionalIResolvable | CfnIdentitySource.OpenIdConnectGroupConfigurationPropertygroup_configuration?optionaltyping.Union[IResolvable, OpenIdConnectGroupConfigurationProperty]groupConfiguration?optionalIResolvableGroupConfiguration?optionalIResolvableGroupConfiguration?optionalinterface{}#For example, this object can map the contents of a groups claim to MyCorp::UserGroup .
This URL must have an OIDC discovery endpoint at the path .well-known/openid-configuration .
tokenSelectionIResolvable | CfnIdentitySource.OpenIdConnectTokenSelectionPropertytoken_selectiontyping.Union[IResolvable, OpenIdConnectTokenSelectionProperty]tokenSelectionIResolvableTokenSelectionIResolvableTokenSelectioninterface{}required#Your policy store can process either identity (ID) or access tokens from a given OIDC identity source.