auth_configs
Creates, updates, deletes, gets or lists a auth_configs
resource.
Overview
Name | auth_configs |
Type | Resource |
Id | azure.container_apps.auth_configs |
Fields
Name | Datatype | Description |
---|---|---|
properties | object | AuthConfig resource specific properties |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | authConfigName, containerAppName, resourceGroupName, subscriptionId | |
list_by_container_app | SELECT | containerAppName, resourceGroupName, subscriptionId | |
create_or_update | INSERT | authConfigName, containerAppName, resourceGroupName, subscriptionId | Create or update the AuthConfig for a Container App. |
delete | DELETE | authConfigName, containerAppName, resourceGroupName, subscriptionId | Delete a Container App AuthConfig. |
SELECT
examples
SELECT
properties
FROM azure.container_apps.auth_configs
WHERE containerAppName = '{{ containerAppName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new auth_configs
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.container_apps.auth_configs (
authConfigName,
containerAppName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ authConfigName }}',
'{{ containerAppName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: platform
value:
- name: enabled
value: boolean
- name: runtimeVersion
value: string
- name: globalValidation
value:
- name: unauthenticatedClientAction
value: string
- name: redirectToProvider
value: string
- name: excludedPaths
value:
- string
- name: identityProviders
value:
- name: azureActiveDirectory
value:
- name: enabled
value: boolean
- name: registration
value:
- name: openIdIssuer
value: string
- name: clientId
value: string
- name: clientSecretSettingName
value: string
- name: clientSecretCertificateThumbprint
value: string
- name: clientSecretCertificateSubjectAlternativeName
value: string
- name: clientSecretCertificateIssuer
value: string
- name: login
value:
- name: loginParameters
value:
- string
- name: disableWWWAuthenticate
value: boolean
- name: validation
value:
- name: jwtClaimChecks
value:
- name: allowedGroups
value:
- string
- name: allowedClientApplications
value:
- string
- name: allowedAudiences
value:
- string
- name: defaultAuthorizationPolicy
value:
- name: allowedPrincipals
value:
- name: groups
value:
- string
- name: identities
value:
- string
- name: allowedApplications
value:
- string
- name: isAutoProvisioned
value: boolean
- name: facebook
value:
- name: enabled
value: boolean
- name: registration
value:
- name: appId
value: string
- name: appSecretSettingName
value: string
- name: graphApiVersion
value: string
- name: login
value:
- name: scopes
value:
- string
- name: gitHub
value:
- name: enabled
value: boolean
- name: registration
value:
- name: clientId
value: string
- name: clientSecretSettingName
value: string
- name: google
value:
- name: enabled
value: boolean
- name: validation
value:
- name: allowedAudiences
value:
- string
- name: twitter
value:
- name: enabled
value: boolean
- name: registration
value:
- name: consumerKey
value: string
- name: consumerSecretSettingName
value: string
- name: apple
value:
- name: enabled
value: boolean
- name: registration
value:
- name: clientId
value: string
- name: clientSecretSettingName
value: string
- name: azureStaticWebApps
value:
- name: enabled
value: boolean
- name: registration
value:
- name: clientId
value: string
- name: customOpenIdConnectProviders
value: object
- name: login
value:
- name: routes
value:
- name: logoutEndpoint
value: string
- name: tokenStore
value:
- name: enabled
value: boolean
- name: tokenRefreshExtensionHours
value: number
- name: azureBlobStorage
value:
- name: sasUrlSettingName
value: string
- name: preserveUrlFragmentsForLogins
value: boolean
- name: allowedExternalRedirectUrls
value:
- string
- name: cookieExpiration
value:
- name: convention
value: string
- name: timeToExpiration
value: string
- name: nonce
value:
- name: validateNonce
value: boolean
- name: nonceExpirationInterval
value: string
- name: httpSettings
value:
- name: requireHttps
value: boolean
- name: routes
value:
- name: apiPrefix
value: string
- name: forwardProxy
value:
- name: convention
value: string
- name: customHostHeaderName
value: string
- name: customProtoHeaderName
value: string
- name: encryptionSettings
value:
- name: containerAppAuthEncryptionSecretName
value: string
- name: containerAppAuthSigningSecretName
value: string
DELETE
example
Deletes the specified auth_configs
resource.
/*+ delete */
DELETE FROM azure.container_apps.auth_configs
WHERE authConfigName = '{{ authConfigName }}'
AND containerAppName = '{{ containerAppName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';