azure-native.web.WebAppAuthSettingsSlot
Explore with Pulumi AI
Configuration settings for the Azure App Service Authentication / Authorization feature. Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-12-01.
Other available API versions: 2020-10-01, 2023-01-01, 2023-12-01.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:web:WebAppAuthSettingsSlot myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings
Create WebAppAuthSettingsSlot Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WebAppAuthSettingsSlot(name: string, args: WebAppAuthSettingsSlotArgs, opts?: CustomResourceOptions);
@overload
def WebAppAuthSettingsSlot(resource_name: str,
args: WebAppAuthSettingsSlotArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WebAppAuthSettingsSlot(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
slot: Optional[str] = None,
resource_group_name: Optional[str] = None,
google_client_id: Optional[str] = None,
token_store_enabled: Optional[bool] = None,
client_id: Optional[str] = None,
client_secret: Optional[str] = None,
client_secret_certificate_thumbprint: Optional[str] = None,
client_secret_setting_name: Optional[str] = None,
config_version: Optional[str] = None,
default_provider: Optional[BuiltInAuthenticationProvider] = None,
enabled: Optional[bool] = None,
facebook_app_id: Optional[str] = None,
facebook_app_secret: Optional[str] = None,
facebook_app_secret_setting_name: Optional[str] = None,
facebook_o_auth_scopes: Optional[Sequence[str]] = None,
google_o_auth_scopes: Optional[Sequence[str]] = None,
git_hub_client_secret: Optional[str] = None,
git_hub_client_secret_setting_name: Optional[str] = None,
git_hub_o_auth_scopes: Optional[Sequence[str]] = None,
aad_claims_authorization: Optional[str] = None,
unauthenticated_client_action: Optional[UnauthenticatedClientAction] = None,
auth_file_path: Optional[str] = None,
git_hub_client_id: Optional[str] = None,
is_auth_from_file: Optional[str] = None,
issuer: Optional[str] = None,
kind: Optional[str] = None,
microsoft_account_client_id: Optional[str] = None,
microsoft_account_client_secret: Optional[str] = None,
microsoft_account_client_secret_setting_name: Optional[str] = None,
microsoft_account_o_auth_scopes: Optional[Sequence[str]] = None,
allowed_external_redirect_urls: Optional[Sequence[str]] = None,
allowed_audiences: Optional[Sequence[str]] = None,
runtime_version: Optional[str] = None,
additional_login_params: Optional[Sequence[str]] = None,
token_refresh_extension_hours: Optional[float] = None,
google_client_secret_setting_name: Optional[str] = None,
twitter_consumer_key: Optional[str] = None,
twitter_consumer_secret: Optional[str] = None,
twitter_consumer_secret_setting_name: Optional[str] = None,
google_client_secret: Optional[str] = None,
validate_issuer: Optional[bool] = None)
func NewWebAppAuthSettingsSlot(ctx *Context, name string, args WebAppAuthSettingsSlotArgs, opts ...ResourceOption) (*WebAppAuthSettingsSlot, error)
public WebAppAuthSettingsSlot(string name, WebAppAuthSettingsSlotArgs args, CustomResourceOptions? opts = null)
public WebAppAuthSettingsSlot(String name, WebAppAuthSettingsSlotArgs args)
public WebAppAuthSettingsSlot(String name, WebAppAuthSettingsSlotArgs args, CustomResourceOptions options)
type: azure-native:web:WebAppAuthSettingsSlot
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args WebAppAuthSettingsSlotArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args WebAppAuthSettingsSlotArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args WebAppAuthSettingsSlotArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WebAppAuthSettingsSlotArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WebAppAuthSettingsSlotArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var webAppAuthSettingsSlotResource = new AzureNative.Web.WebAppAuthSettingsSlot("webAppAuthSettingsSlotResource", new()
{
Name = "string",
Slot = "string",
ResourceGroupName = "string",
GoogleClientId = "string",
TokenStoreEnabled = false,
ClientId = "string",
ClientSecret = "string",
ClientSecretCertificateThumbprint = "string",
ClientSecretSettingName = "string",
ConfigVersion = "string",
DefaultProvider = AzureNative.Web.BuiltInAuthenticationProvider.AzureActiveDirectory,
Enabled = false,
FacebookAppId = "string",
FacebookAppSecret = "string",
FacebookAppSecretSettingName = "string",
FacebookOAuthScopes = new[]
{
"string",
},
GoogleOAuthScopes = new[]
{
"string",
},
GitHubClientSecret = "string",
GitHubClientSecretSettingName = "string",
GitHubOAuthScopes = new[]
{
"string",
},
AadClaimsAuthorization = "string",
UnauthenticatedClientAction = AzureNative.Web.UnauthenticatedClientAction.RedirectToLoginPage,
AuthFilePath = "string",
GitHubClientId = "string",
IsAuthFromFile = "string",
Issuer = "string",
Kind = "string",
MicrosoftAccountClientId = "string",
MicrosoftAccountClientSecret = "string",
MicrosoftAccountClientSecretSettingName = "string",
MicrosoftAccountOAuthScopes = new[]
{
"string",
},
AllowedExternalRedirectUrls = new[]
{
"string",
},
AllowedAudiences = new[]
{
"string",
},
RuntimeVersion = "string",
AdditionalLoginParams = new[]
{
"string",
},
TokenRefreshExtensionHours = 0,
GoogleClientSecretSettingName = "string",
TwitterConsumerKey = "string",
TwitterConsumerSecret = "string",
TwitterConsumerSecretSettingName = "string",
GoogleClientSecret = "string",
ValidateIssuer = false,
});
example, err := web.NewWebAppAuthSettingsSlot(ctx, "webAppAuthSettingsSlotResource", &web.WebAppAuthSettingsSlotArgs{
Name: pulumi.String("string"),
Slot: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
GoogleClientId: pulumi.String("string"),
TokenStoreEnabled: pulumi.Bool(false),
ClientId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
ClientSecretCertificateThumbprint: pulumi.String("string"),
ClientSecretSettingName: pulumi.String("string"),
ConfigVersion: pulumi.String("string"),
DefaultProvider: web.BuiltInAuthenticationProviderAzureActiveDirectory,
Enabled: pulumi.Bool(false),
FacebookAppId: pulumi.String("string"),
FacebookAppSecret: pulumi.String("string"),
FacebookAppSecretSettingName: pulumi.String("string"),
FacebookOAuthScopes: pulumi.StringArray{
pulumi.String("string"),
},
GoogleOAuthScopes: pulumi.StringArray{
pulumi.String("string"),
},
GitHubClientSecret: pulumi.String("string"),
GitHubClientSecretSettingName: pulumi.String("string"),
GitHubOAuthScopes: pulumi.StringArray{
pulumi.String("string"),
},
AadClaimsAuthorization: pulumi.String("string"),
UnauthenticatedClientAction: web.UnauthenticatedClientActionRedirectToLoginPage,
AuthFilePath: pulumi.String("string"),
GitHubClientId: pulumi.String("string"),
IsAuthFromFile: pulumi.String("string"),
Issuer: pulumi.String("string"),
Kind: pulumi.String("string"),
MicrosoftAccountClientId: pulumi.String("string"),
MicrosoftAccountClientSecret: pulumi.String("string"),
MicrosoftAccountClientSecretSettingName: pulumi.String("string"),
MicrosoftAccountOAuthScopes: pulumi.StringArray{
pulumi.String("string"),
},
AllowedExternalRedirectUrls: pulumi.StringArray{
pulumi.String("string"),
},
AllowedAudiences: pulumi.StringArray{
pulumi.String("string"),
},
RuntimeVersion: pulumi.String("string"),
AdditionalLoginParams: pulumi.StringArray{
pulumi.String("string"),
},
TokenRefreshExtensionHours: pulumi.Float64(0),
GoogleClientSecretSettingName: pulumi.String("string"),
TwitterConsumerKey: pulumi.String("string"),
TwitterConsumerSecret: pulumi.String("string"),
TwitterConsumerSecretSettingName: pulumi.String("string"),
GoogleClientSecret: pulumi.String("string"),
ValidateIssuer: pulumi.Bool(false),
})
var webAppAuthSettingsSlotResource = new WebAppAuthSettingsSlot("webAppAuthSettingsSlotResource", WebAppAuthSettingsSlotArgs.builder()
.name("string")
.slot("string")
.resourceGroupName("string")
.googleClientId("string")
.tokenStoreEnabled(false)
.clientId("string")
.clientSecret("string")
.clientSecretCertificateThumbprint("string")
.clientSecretSettingName("string")
.configVersion("string")
.defaultProvider("AzureActiveDirectory")
.enabled(false)
.facebookAppId("string")
.facebookAppSecret("string")
.facebookAppSecretSettingName("string")
.facebookOAuthScopes("string")
.googleOAuthScopes("string")
.gitHubClientSecret("string")
.gitHubClientSecretSettingName("string")
.gitHubOAuthScopes("string")
.aadClaimsAuthorization("string")
.unauthenticatedClientAction("RedirectToLoginPage")
.authFilePath("string")
.gitHubClientId("string")
.isAuthFromFile("string")
.issuer("string")
.kind("string")
.microsoftAccountClientId("string")
.microsoftAccountClientSecret("string")
.microsoftAccountClientSecretSettingName("string")
.microsoftAccountOAuthScopes("string")
.allowedExternalRedirectUrls("string")
.allowedAudiences("string")
.runtimeVersion("string")
.additionalLoginParams("string")
.tokenRefreshExtensionHours(0)
.googleClientSecretSettingName("string")
.twitterConsumerKey("string")
.twitterConsumerSecret("string")
.twitterConsumerSecretSettingName("string")
.googleClientSecret("string")
.validateIssuer(false)
.build());
web_app_auth_settings_slot_resource = azure_native.web.WebAppAuthSettingsSlot("webAppAuthSettingsSlotResource",
name="string",
slot="string",
resource_group_name="string",
google_client_id="string",
token_store_enabled=False,
client_id="string",
client_secret="string",
client_secret_certificate_thumbprint="string",
client_secret_setting_name="string",
config_version="string",
default_provider=azure_native.web.BuiltInAuthenticationProvider.AZURE_ACTIVE_DIRECTORY,
enabled=False,
facebook_app_id="string",
facebook_app_secret="string",
facebook_app_secret_setting_name="string",
facebook_o_auth_scopes=["string"],
google_o_auth_scopes=["string"],
git_hub_client_secret="string",
git_hub_client_secret_setting_name="string",
git_hub_o_auth_scopes=["string"],
aad_claims_authorization="string",
unauthenticated_client_action=azure_native.web.UnauthenticatedClientAction.REDIRECT_TO_LOGIN_PAGE,
auth_file_path="string",
git_hub_client_id="string",
is_auth_from_file="string",
issuer="string",
kind="string",
microsoft_account_client_id="string",
microsoft_account_client_secret="string",
microsoft_account_client_secret_setting_name="string",
microsoft_account_o_auth_scopes=["string"],
allowed_external_redirect_urls=["string"],
allowed_audiences=["string"],
runtime_version="string",
additional_login_params=["string"],
token_refresh_extension_hours=0,
google_client_secret_setting_name="string",
twitter_consumer_key="string",
twitter_consumer_secret="string",
twitter_consumer_secret_setting_name="string",
google_client_secret="string",
validate_issuer=False)
const webAppAuthSettingsSlotResource = new azure_native.web.WebAppAuthSettingsSlot("webAppAuthSettingsSlotResource", {
name: "string",
slot: "string",
resourceGroupName: "string",
googleClientId: "string",
tokenStoreEnabled: false,
clientId: "string",
clientSecret: "string",
clientSecretCertificateThumbprint: "string",
clientSecretSettingName: "string",
configVersion: "string",
defaultProvider: azure_native.web.BuiltInAuthenticationProvider.AzureActiveDirectory,
enabled: false,
facebookAppId: "string",
facebookAppSecret: "string",
facebookAppSecretSettingName: "string",
facebookOAuthScopes: ["string"],
googleOAuthScopes: ["string"],
gitHubClientSecret: "string",
gitHubClientSecretSettingName: "string",
gitHubOAuthScopes: ["string"],
aadClaimsAuthorization: "string",
unauthenticatedClientAction: azure_native.web.UnauthenticatedClientAction.RedirectToLoginPage,
authFilePath: "string",
gitHubClientId: "string",
isAuthFromFile: "string",
issuer: "string",
kind: "string",
microsoftAccountClientId: "string",
microsoftAccountClientSecret: "string",
microsoftAccountClientSecretSettingName: "string",
microsoftAccountOAuthScopes: ["string"],
allowedExternalRedirectUrls: ["string"],
allowedAudiences: ["string"],
runtimeVersion: "string",
additionalLoginParams: ["string"],
tokenRefreshExtensionHours: 0,
googleClientSecretSettingName: "string",
twitterConsumerKey: "string",
twitterConsumerSecret: "string",
twitterConsumerSecretSettingName: "string",
googleClientSecret: "string",
validateIssuer: false,
});
type: azure-native:web:WebAppAuthSettingsSlot
properties:
aadClaimsAuthorization: string
additionalLoginParams:
- string
allowedAudiences:
- string
allowedExternalRedirectUrls:
- string
authFilePath: string
clientId: string
clientSecret: string
clientSecretCertificateThumbprint: string
clientSecretSettingName: string
configVersion: string
defaultProvider: AzureActiveDirectory
enabled: false
facebookAppId: string
facebookAppSecret: string
facebookAppSecretSettingName: string
facebookOAuthScopes:
- string
gitHubClientId: string
gitHubClientSecret: string
gitHubClientSecretSettingName: string
gitHubOAuthScopes:
- string
googleClientId: string
googleClientSecret: string
googleClientSecretSettingName: string
googleOAuthScopes:
- string
isAuthFromFile: string
issuer: string
kind: string
microsoftAccountClientId: string
microsoftAccountClientSecret: string
microsoftAccountClientSecretSettingName: string
microsoftAccountOAuthScopes:
- string
name: string
resourceGroupName: string
runtimeVersion: string
slot: string
tokenRefreshExtensionHours: 0
tokenStoreEnabled: false
twitterConsumerKey: string
twitterConsumerSecret: string
twitterConsumerSecretSettingName: string
unauthenticatedClientAction: RedirectToLoginPage
validateIssuer: false
WebAppAuthSettingsSlot Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The WebAppAuthSettingsSlot resource accepts the following input properties:
- Name string
- Name of web app.
- Resource
Group stringName - Name of the resource group to which the resource belongs.
- Slot string
- Name of web app slot. If not specified then will default to production slot.
- string
- Gets a JSON string containing the Azure AD Acl settings.
- Additional
Login List<string>Params - Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
- Allowed
Audiences List<string> - Allowed audience values to consider when validating JSON Web Tokens issued by Azure Active Directory. Note that the ClientID value is always considered an allowed audience, regardless of this setting.
- Allowed
External List<string>Redirect Urls - External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored. This is an advanced setting typically only needed by Windows Store application backends. Note that URLs within the current domain are always implicitly allowed.
- Auth
File stringPath - The path of the config file containing auth settings. If the path is relative, base will the site's root directory.
- Client
Id string - The Client ID of this relying party application, known as the client_id. This setting is required for enabling OpenID Connection authentication with Azure Active Directory or other 3rd party OpenID Connect providers. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
- Client
Secret string - The Client Secret of this relying party application (in Azure Active Directory, this is also referred to as the Key). This setting is optional. If no client secret is configured, the OpenID Connect implicit auth flow is used to authenticate end users. Otherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
- Client
Secret stringCertificate Thumbprint - An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as a replacement for the Client Secret. It is also optional.
- Client
Secret stringSetting Name - The app setting name that contains the client secret of the relying party application.
- Config
Version string - The ConfigVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of the control plane for Authentication / Authorization.
- Default
Provider Pulumi.Azure Native. Web. Built In Authentication Provider - The default authentication provider to use when multiple providers are configured. This setting is only needed if multiple providers are configured and the unauthenticated client action is set to "RedirectToLoginPage".
- Enabled bool
- true if the Authentication / Authorization feature is enabled for the current app; otherwise, false.
- Facebook
App stringId - The App ID of the Facebook app used for login. This setting is required for enabling Facebook Login. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
- Facebook
App stringSecret - The App Secret of the Facebook app used for Facebook Login. This setting is required for enabling Facebook Login. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
- Facebook
App stringSecret Setting Name - The app setting name that contains the app secret used for Facebook Login.
- Facebook
OAuth List<string>Scopes - The OAuth 2.0 scopes that will be requested as part of Facebook Login authentication. This setting is optional. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
- Git
Hub stringClient Id - The Client Id of the GitHub app used for login. This setting is required for enabling Github login
- Git
Hub stringClient Secret - The Client Secret of the GitHub app used for Github Login. This setting is required for enabling Github login.
- Git
Hub stringClient Secret Setting Name - The app setting name that contains the client secret of the Github app used for GitHub Login.
- Git
Hub List<string>OAuth Scopes - The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication. This setting is optional
- Google
Client stringId - The OpenID Connect Client ID for the Google web application. This setting is required for enabling Google Sign-In. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
- Google
Client stringSecret - The client secret associated with the Google web application. This setting is required for enabling Google Sign-In. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
- Google
Client stringSecret Setting Name - The app setting name that contains the client secret associated with the Google web application.
- Google
OAuth List<string>Scopes - The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. This setting is optional. If not specified, "openid", "profile", and "email" are used as default scopes. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
- Is
Auth stringFrom File - "true" if the auth config settings should be read from a file, "false" otherwise
- Issuer string
- The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/. This URI is a case-sensitive identifier for the token issuer. More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html
- Kind string
- Kind of resource.
- Microsoft
Account stringClient Id - The OAuth 2.0 client ID that was created for the app used for authentication. This setting is required for enabling Microsoft Account authentication. Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
- Microsoft
Account stringClient Secret - The OAuth 2.0 client secret that was created for the app used for authentication. This setting is required for enabling Microsoft Account authentication. Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
- Microsoft
Account stringClient Secret Setting Name - The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
- Microsoft
Account List<string>OAuth Scopes - The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. This setting is optional. If not specified, "wl.basic" is used as the default scope. Microsoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx
- Runtime
Version string - The RuntimeVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of certain features in the Authentication / Authorization module.
- Token
Refresh doubleExtension Hours - The number of hours after session token expiration that a session token can be used to call the token refresh API. The default is 72 hours.
- Token
Store boolEnabled - true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. The default is false.
- Twitter
Consumer stringKey - The OAuth 1.0a consumer key of the Twitter application used for sign-in. This setting is required for enabling Twitter Sign-In. Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
- Twitter
Consumer stringSecret - The OAuth 1.0a consumer secret of the Twitter application used for sign-in. This setting is required for enabling Twitter Sign-In. Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
- Twitter
Consumer stringSecret Setting Name - The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
- Unauthenticated
Client Pulumi.Action Azure Native. Web. Unauthenticated Client Action - The action to take when an unauthenticated client attempts to access the app.
- Validate
Issuer bool - Gets a value indicating whether the issuer should be a valid HTTPS url and be validated as such.
- Name string
- Name of web app.
- Resource
Group stringName - Name of the resource group to which the resource belongs.
- Slot string
- Name of web app slot. If not specified then will default to production slot.
- string
- Gets a JSON string containing the Azure AD Acl settings.
- Additional
Login []stringParams - Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
- Allowed
Audiences []string - Allowed audience values to consider when validating JSON Web Tokens issued by Azure Active Directory. Note that the ClientID value is always considered an allowed audience, regardless of this setting.
- Allowed
External []stringRedirect Urls - External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored. This is an advanced setting typically only needed by Windows Store application backends. Note that URLs within the current domain are always implicitly allowed.
- Auth
File stringPath - The path of the config file containing auth settings. If the path is relative, base will the site's root directory.
- Client
Id string - The Client ID of this relying party application, known as the client_id. This setting is required for enabling OpenID Connection authentication with Azure Active Directory or other 3rd party OpenID Connect providers. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
- Client
Secret string - The Client Secret of this relying party application (in Azure Active Directory, this is also referred to as the Key). This setting is optional. If no client secret is configured, the OpenID Connect implicit auth flow is used to authenticate end users. Otherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
- Client
Secret stringCertificate Thumbprint - An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as a replacement for the Client Secret. It is also optional.
- Client
Secret stringSetting Name - The app setting name that contains the client secret of the relying party application.
- Config
Version string - The ConfigVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of the control plane for Authentication / Authorization.
- Default
Provider BuiltIn Authentication Provider - The default authentication provider to use when multiple providers are configured. This setting is only needed if multiple providers are configured and the unauthenticated client action is set to "RedirectToLoginPage".
- Enabled bool
- true if the Authentication / Authorization feature is enabled for the current app; otherwise, false.
- Facebook
App stringId - The App ID of the Facebook app used for login. This setting is required for enabling Facebook Login. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
- Facebook
App stringSecret - The App Secret of the Facebook app used for Facebook Login. This setting is required for enabling Facebook Login. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
- Facebook
App stringSecret Setting Name - The app setting name that contains the app secret used for Facebook Login.
- Facebook
OAuth []stringScopes - The OAuth 2.0 scopes that will be requested as part of Facebook Login authentication. This setting is optional. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
- Git
Hub stringClient Id - The Client Id of the GitHub app used for login. This setting is required for enabling Github login
- Git
Hub stringClient Secret - The Client Secret of the GitHub app used for Github Login. This setting is required for enabling Github login.
- Git
Hub stringClient Secret Setting Name - The app setting name that contains the client secret of the Github app used for GitHub Login.
- Git
Hub []stringOAuth Scopes - The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication. This setting is optional
- Google
Client stringId - The OpenID Connect Client ID for the Google web application. This setting is required for enabling Google Sign-In. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
- Google
Client stringSecret - The client secret associated with the Google web application. This setting is required for enabling Google Sign-In. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
- Google
Client stringSecret Setting Name - The app setting name that contains the client secret associated with the Google web application.
- Google
OAuth []stringScopes - The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. This setting is optional. If not specified, "openid", "profile", and "email" are used as default scopes. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
- Is
Auth stringFrom File - "true" if the auth config settings should be read from a file, "false" otherwise
- Issuer string
- The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/. This URI is a case-sensitive identifier for the token issuer. More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html
- Kind string
- Kind of resource.
- Microsoft
Account stringClient Id - The OAuth 2.0 client ID that was created for the app used for authentication. This setting is required for enabling Microsoft Account authentication. Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
- Microsoft
Account stringClient Secret - The OAuth 2.0 client secret that was created for the app used for authentication. This setting is required for enabling Microsoft Account authentication. Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
- Microsoft
Account stringClient Secret Setting Name - The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
- Microsoft
Account []stringOAuth Scopes - The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. This setting is optional. If not specified, "wl.basic" is used as the default scope. Microsoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx
- Runtime
Version string - The RuntimeVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of certain features in the Authentication / Authorization module.
- Token
Refresh float64Extension Hours - The number of hours after session token expiration that a session token can be used to call the token refresh API. The default is 72 hours.
- Token
Store boolEnabled - true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. The default is false.
- Twitter
Consumer stringKey - The OAuth 1.0a consumer key of the Twitter application used for sign-in. This setting is required for enabling Twitter Sign-In. Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
- Twitter
Consumer stringSecret - The OAuth 1.0a consumer secret of the Twitter application used for sign-in. This setting is required for enabling Twitter Sign-In. Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
- Twitter
Consumer stringSecret Setting Name - The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
- Unauthenticated
Client UnauthenticatedAction Client Action - The action to take when an unauthenticated client attempts to access the app.
- Validate
Issuer bool - Gets a value indicating whether the issuer should be a valid HTTPS url and be validated as such.
- name String
- Name of web app.
- resource
Group StringName - Name of the resource group to which the resource belongs.
- slot String
- Name of web app slot. If not specified then will default to production slot.
- String
- Gets a JSON string containing the Azure AD Acl settings.
- additional
Login List<String>Params - Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
- allowed
Audiences List<String> - Allowed audience values to consider when validating JSON Web Tokens issued by Azure Active Directory. Note that the ClientID value is always considered an allowed audience, regardless of this setting.
- allowed
External List<String>Redirect Urls - External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored. This is an advanced setting typically only needed by Windows Store application backends. Note that URLs within the current domain are always implicitly allowed.
- auth
File StringPath - The path of the config file containing auth settings. If the path is relative, base will the site's root directory.
- client
Id String - The Client ID of this relying party application, known as the client_id. This setting is required for enabling OpenID Connection authentication with Azure Active Directory or other 3rd party OpenID Connect providers. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
- client
Secret String - The Client Secret of this relying party application (in Azure Active Directory, this is also referred to as the Key). This setting is optional. If no client secret is configured, the OpenID Connect implicit auth flow is used to authenticate end users. Otherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
- client
Secret StringCertificate Thumbprint - An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as a replacement for the Client Secret. It is also optional.
- client
Secret StringSetting Name - The app setting name that contains the client secret of the relying party application.
- config
Version String - The ConfigVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of the control plane for Authentication / Authorization.
- default
Provider BuiltIn Authentication Provider - The default authentication provider to use when multiple providers are configured. This setting is only needed if multiple providers are configured and the unauthenticated client action is set to "RedirectToLoginPage".
- enabled Boolean
- true if the Authentication / Authorization feature is enabled for the current app; otherwise, false.
- facebook
App StringId - The App ID of the Facebook app used for login. This setting is required for enabling Facebook Login. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
- facebook
App StringSecret - The App Secret of the Facebook app used for Facebook Login. This setting is required for enabling Facebook Login. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
- facebook
App StringSecret Setting Name - The app setting name that contains the app secret used for Facebook Login.
- facebook
OAuth List<String>Scopes - The OAuth 2.0 scopes that will be requested as part of Facebook Login authentication. This setting is optional. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
- git
Hub StringClient Id - The Client Id of the GitHub app used for login. This setting is required for enabling Github login
- git
Hub StringClient Secret - The Client Secret of the GitHub app used for Github Login. This setting is required for enabling Github login.
- git
Hub StringClient Secret Setting Name - The app setting name that contains the client secret of the Github app used for GitHub Login.
- git
Hub List<String>OAuth Scopes - The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication. This setting is optional
- google
Client StringId - The OpenID Connect Client ID for the Google web application. This setting is required for enabling Google Sign-In. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
- google
Client StringSecret - The client secret associated with the Google web application. This setting is required for enabling Google Sign-In. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
- google
Client StringSecret Setting Name - The app setting name that contains the client secret associated with the Google web application.
- google
OAuth List<String>Scopes - The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. This setting is optional. If not specified, "openid", "profile", and "email" are used as default scopes. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
- is
Auth StringFrom File - "true" if the auth config settings should be read from a file, "false" otherwise
- issuer String
- The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/. This URI is a case-sensitive identifier for the token issuer. More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html
- kind String
- Kind of resource.
- microsoft
Account StringClient Id - The OAuth 2.0 client ID that was created for the app used for authentication. This setting is required for enabling Microsoft Account authentication. Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
- microsoft
Account StringClient Secret - The OAuth 2.0 client secret that was created for the app used for authentication. This setting is required for enabling Microsoft Account authentication. Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
- microsoft
Account StringClient Secret Setting Name - The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
- microsoft
Account List<String>OAuth Scopes - The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. This setting is optional. If not specified, "wl.basic" is used as the default scope. Microsoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx
- runtime
Version String - The RuntimeVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of certain features in the Authentication / Authorization module.
- token
Refresh DoubleExtension Hours - The number of hours after session token expiration that a session token can be used to call the token refresh API. The default is 72 hours.
- token
Store BooleanEnabled - true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. The default is false.
- twitter
Consumer StringKey - The OAuth 1.0a consumer key of the Twitter application used for sign-in. This setting is required for enabling Twitter Sign-In. Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
- twitter
Consumer StringSecret - The OAuth 1.0a consumer secret of the Twitter application used for sign-in. This setting is required for enabling Twitter Sign-In. Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
- twitter
Consumer StringSecret Setting Name - The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
- unauthenticated
Client UnauthenticatedAction Client Action - The action to take when an unauthenticated client attempts to access the app.
- validate
Issuer Boolean - Gets a value indicating whether the issuer should be a valid HTTPS url and be validated as such.
- name string
- Name of web app.
- resource
Group stringName - Name of the resource group to which the resource belongs.
- slot string
- Name of web app slot. If not specified then will default to production slot.
- string
- Gets a JSON string containing the Azure AD Acl settings.
- additional
Login string[]Params - Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
- allowed
Audiences string[] - Allowed audience values to consider when validating JSON Web Tokens issued by Azure Active Directory. Note that the ClientID value is always considered an allowed audience, regardless of this setting.
- allowed
External string[]Redirect Urls - External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored. This is an advanced setting typically only needed by Windows Store application backends. Note that URLs within the current domain are always implicitly allowed.
- auth
File stringPath - The path of the config file containing auth settings. If the path is relative, base will the site's root directory.
- client
Id string - The Client ID of this relying party application, known as the client_id. This setting is required for enabling OpenID Connection authentication with Azure Active Directory or other 3rd party OpenID Connect providers. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
- client
Secret string - The Client Secret of this relying party application (in Azure Active Directory, this is also referred to as the Key). This setting is optional. If no client secret is configured, the OpenID Connect implicit auth flow is used to authenticate end users. Otherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
- client
Secret stringCertificate Thumbprint - An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as a replacement for the Client Secret. It is also optional.
- client
Secret stringSetting Name - The app setting name that contains the client secret of the relying party application.
- config
Version string - The ConfigVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of the control plane for Authentication / Authorization.
- default
Provider BuiltIn Authentication Provider - The default authentication provider to use when multiple providers are configured. This setting is only needed if multiple providers are configured and the unauthenticated client action is set to "RedirectToLoginPage".
- enabled boolean
- true if the Authentication / Authorization feature is enabled for the current app; otherwise, false.
- facebook
App stringId - The App ID of the Facebook app used for login. This setting is required for enabling Facebook Login. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
- facebook
App stringSecret - The App Secret of the Facebook app used for Facebook Login. This setting is required for enabling Facebook Login. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
- facebook
App stringSecret Setting Name - The app setting name that contains the app secret used for Facebook Login.
- facebook
OAuth string[]Scopes - The OAuth 2.0 scopes that will be requested as part of Facebook Login authentication. This setting is optional. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
- git
Hub stringClient Id - The Client Id of the GitHub app used for login. This setting is required for enabling Github login
- git
Hub stringClient Secret - The Client Secret of the GitHub app used for Github Login. This setting is required for enabling Github login.
- git
Hub stringClient Secret Setting Name - The app setting name that contains the client secret of the Github app used for GitHub Login.
- git
Hub string[]OAuth Scopes - The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication. This setting is optional
- google
Client stringId - The OpenID Connect Client ID for the Google web application. This setting is required for enabling Google Sign-In. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
- google
Client stringSecret - The client secret associated with the Google web application. This setting is required for enabling Google Sign-In. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
- google
Client stringSecret Setting Name - The app setting name that contains the client secret associated with the Google web application.
- google
OAuth string[]Scopes - The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. This setting is optional. If not specified, "openid", "profile", and "email" are used as default scopes. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
- is
Auth stringFrom File - "true" if the auth config settings should be read from a file, "false" otherwise
- issuer string
- The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/. This URI is a case-sensitive identifier for the token issuer. More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html
- kind string
- Kind of resource.
- microsoft
Account stringClient Id - The OAuth 2.0 client ID that was created for the app used for authentication. This setting is required for enabling Microsoft Account authentication. Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
- microsoft
Account stringClient Secret - The OAuth 2.0 client secret that was created for the app used for authentication. This setting is required for enabling Microsoft Account authentication. Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
- microsoft
Account stringClient Secret Setting Name - The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
- microsoft
Account string[]OAuth Scopes - The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. This setting is optional. If not specified, "wl.basic" is used as the default scope. Microsoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx
- runtime
Version string - The RuntimeVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of certain features in the Authentication / Authorization module.
- token
Refresh numberExtension Hours - The number of hours after session token expiration that a session token can be used to call the token refresh API. The default is 72 hours.
- token
Store booleanEnabled - true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. The default is false.
- twitter
Consumer stringKey - The OAuth 1.0a consumer key of the Twitter application used for sign-in. This setting is required for enabling Twitter Sign-In. Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
- twitter
Consumer stringSecret - The OAuth 1.0a consumer secret of the Twitter application used for sign-in. This setting is required for enabling Twitter Sign-In. Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
- twitter
Consumer stringSecret Setting Name - The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
- unauthenticated
Client UnauthenticatedAction Client Action - The action to take when an unauthenticated client attempts to access the app.
- validate
Issuer boolean - Gets a value indicating whether the issuer should be a valid HTTPS url and be validated as such.
- name str
- Name of web app.
- resource_
group_ strname - Name of the resource group to which the resource belongs.
- slot str
- Name of web app slot. If not specified then will default to production slot.
- str
- Gets a JSON string containing the Azure AD Acl settings.
- additional_
login_ Sequence[str]params - Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
- allowed_
audiences Sequence[str] - Allowed audience values to consider when validating JSON Web Tokens issued by Azure Active Directory. Note that the ClientID value is always considered an allowed audience, regardless of this setting.
- allowed_
external_ Sequence[str]redirect_ urls - External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored. This is an advanced setting typically only needed by Windows Store application backends. Note that URLs within the current domain are always implicitly allowed.
- auth_
file_ strpath - The path of the config file containing auth settings. If the path is relative, base will the site's root directory.
- client_
id str - The Client ID of this relying party application, known as the client_id. This setting is required for enabling OpenID Connection authentication with Azure Active Directory or other 3rd party OpenID Connect providers. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
- client_
secret str - The Client Secret of this relying party application (in Azure Active Directory, this is also referred to as the Key). This setting is optional. If no client secret is configured, the OpenID Connect implicit auth flow is used to authenticate end users. Otherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
- client_
secret_ strcertificate_ thumbprint - An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as a replacement for the Client Secret. It is also optional.
- client_
secret_ strsetting_ name - The app setting name that contains the client secret of the relying party application.
- config_
version str - The ConfigVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of the control plane for Authentication / Authorization.
- default_
provider BuiltIn Authentication Provider - The default authentication provider to use when multiple providers are configured. This setting is only needed if multiple providers are configured and the unauthenticated client action is set to "RedirectToLoginPage".
- enabled bool
- true if the Authentication / Authorization feature is enabled for the current app; otherwise, false.
- facebook_
app_ strid - The App ID of the Facebook app used for login. This setting is required for enabling Facebook Login. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
- facebook_
app_ strsecret - The App Secret of the Facebook app used for Facebook Login. This setting is required for enabling Facebook Login. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
- facebook_
app_ strsecret_ setting_ name - The app setting name that contains the app secret used for Facebook Login.
- facebook_
o_ Sequence[str]auth_ scopes - The OAuth 2.0 scopes that will be requested as part of Facebook Login authentication. This setting is optional. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
- git_
hub_ strclient_ id - The Client Id of the GitHub app used for login. This setting is required for enabling Github login
- git_
hub_ strclient_ secret - The Client Secret of the GitHub app used for Github Login. This setting is required for enabling Github login.
- git_
hub_ strclient_ secret_ setting_ name - The app setting name that contains the client secret of the Github app used for GitHub Login.
- git_
hub_ Sequence[str]o_ auth_ scopes - The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication. This setting is optional
- google_
client_ strid - The OpenID Connect Client ID for the Google web application. This setting is required for enabling Google Sign-In. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
- google_
client_ strsecret - The client secret associated with the Google web application. This setting is required for enabling Google Sign-In. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
- google_
client_ strsecret_ setting_ name - The app setting name that contains the client secret associated with the Google web application.
- google_
o_ Sequence[str]auth_ scopes - The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. This setting is optional. If not specified, "openid", "profile", and "email" are used as default scopes. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
- is_
auth_ strfrom_ file - "true" if the auth config settings should be read from a file, "false" otherwise
- issuer str
- The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/. This URI is a case-sensitive identifier for the token issuer. More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html
- kind str
- Kind of resource.
- microsoft_
account_ strclient_ id - The OAuth 2.0 client ID that was created for the app used for authentication. This setting is required for enabling Microsoft Account authentication. Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
- microsoft_
account_ strclient_ secret - The OAuth 2.0 client secret that was created for the app used for authentication. This setting is required for enabling Microsoft Account authentication. Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
- microsoft_
account_ strclient_ secret_ setting_ name - The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
- microsoft_
account_ Sequence[str]o_ auth_ scopes - The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. This setting is optional. If not specified, "wl.basic" is used as the default scope. Microsoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx
- runtime_
version str - The RuntimeVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of certain features in the Authentication / Authorization module.
- token_
refresh_ floatextension_ hours - The number of hours after session token expiration that a session token can be used to call the token refresh API. The default is 72 hours.
- token_
store_ boolenabled - true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. The default is false.
- twitter_
consumer_ strkey - The OAuth 1.0a consumer key of the Twitter application used for sign-in. This setting is required for enabling Twitter Sign-In. Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
- twitter_
consumer_ strsecret - The OAuth 1.0a consumer secret of the Twitter application used for sign-in. This setting is required for enabling Twitter Sign-In. Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
- twitter_
consumer_ strsecret_ setting_ name - The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
- unauthenticated_
client_ Unauthenticatedaction Client Action - The action to take when an unauthenticated client attempts to access the app.
- validate_
issuer bool - Gets a value indicating whether the issuer should be a valid HTTPS url and be validated as such.
- name String
- Name of web app.
- resource
Group StringName - Name of the resource group to which the resource belongs.
- slot String
- Name of web app slot. If not specified then will default to production slot.
- String
- Gets a JSON string containing the Azure AD Acl settings.
- additional
Login List<String>Params - Login parameters to send to the OpenID Connect authorization endpoint when a user logs in. Each parameter must be in the form "key=value".
- allowed
Audiences List<String> - Allowed audience values to consider when validating JSON Web Tokens issued by Azure Active Directory. Note that the ClientID value is always considered an allowed audience, regardless of this setting.
- allowed
External List<String>Redirect Urls - External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored. This is an advanced setting typically only needed by Windows Store application backends. Note that URLs within the current domain are always implicitly allowed.
- auth
File StringPath - The path of the config file containing auth settings. If the path is relative, base will the site's root directory.
- client
Id String - The Client ID of this relying party application, known as the client_id. This setting is required for enabling OpenID Connection authentication with Azure Active Directory or other 3rd party OpenID Connect providers. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
- client
Secret String - The Client Secret of this relying party application (in Azure Active Directory, this is also referred to as the Key). This setting is optional. If no client secret is configured, the OpenID Connect implicit auth flow is used to authenticate end users. Otherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users. More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html
- client
Secret StringCertificate Thumbprint - An alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as a replacement for the Client Secret. It is also optional.
- client
Secret StringSetting Name - The app setting name that contains the client secret of the relying party application.
- config
Version String - The ConfigVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of the control plane for Authentication / Authorization.
- default
Provider "AzureActive Directory" | "Facebook" | "Google" | "Microsoft Account" | "Twitter" | "Github" - The default authentication provider to use when multiple providers are configured. This setting is only needed if multiple providers are configured and the unauthenticated client action is set to "RedirectToLoginPage".
- enabled Boolean
- true if the Authentication / Authorization feature is enabled for the current app; otherwise, false.
- facebook
App StringId - The App ID of the Facebook app used for login. This setting is required for enabling Facebook Login. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
- facebook
App StringSecret - The App Secret of the Facebook app used for Facebook Login. This setting is required for enabling Facebook Login. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
- facebook
App StringSecret Setting Name - The app setting name that contains the app secret used for Facebook Login.
- facebook
OAuth List<String>Scopes - The OAuth 2.0 scopes that will be requested as part of Facebook Login authentication. This setting is optional. Facebook Login documentation: https://developers.facebook.com/docs/facebook-login
- git
Hub StringClient Id - The Client Id of the GitHub app used for login. This setting is required for enabling Github login
- git
Hub StringClient Secret - The Client Secret of the GitHub app used for Github Login. This setting is required for enabling Github login.
- git
Hub StringClient Secret Setting Name - The app setting name that contains the client secret of the Github app used for GitHub Login.
- git
Hub List<String>OAuth Scopes - The OAuth 2.0 scopes that will be requested as part of GitHub Login authentication. This setting is optional
- google
Client StringId - The OpenID Connect Client ID for the Google web application. This setting is required for enabling Google Sign-In. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
- google
Client StringSecret - The client secret associated with the Google web application. This setting is required for enabling Google Sign-In. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
- google
Client StringSecret Setting Name - The app setting name that contains the client secret associated with the Google web application.
- google
OAuth List<String>Scopes - The OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. This setting is optional. If not specified, "openid", "profile", and "email" are used as default scopes. Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/
- is
Auth StringFrom File - "true" if the auth config settings should be read from a file, "false" otherwise
- issuer String
- The OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/. This URI is a case-sensitive identifier for the token issuer. More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html
- kind String
- Kind of resource.
- microsoft
Account StringClient Id - The OAuth 2.0 client ID that was created for the app used for authentication. This setting is required for enabling Microsoft Account authentication. Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
- microsoft
Account StringClient Secret - The OAuth 2.0 client secret that was created for the app used for authentication. This setting is required for enabling Microsoft Account authentication. Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm
- microsoft
Account StringClient Secret Setting Name - The app setting name containing the OAuth 2.0 client secret that was created for the app used for authentication.
- microsoft
Account List<String>OAuth Scopes - The OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. This setting is optional. If not specified, "wl.basic" is used as the default scope. Microsoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx
- runtime
Version String - The RuntimeVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of certain features in the Authentication / Authorization module.
- token
Refresh NumberExtension Hours - The number of hours after session token expiration that a session token can be used to call the token refresh API. The default is 72 hours.
- token
Store BooleanEnabled - true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. The default is false.
- twitter
Consumer StringKey - The OAuth 1.0a consumer key of the Twitter application used for sign-in. This setting is required for enabling Twitter Sign-In. Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
- twitter
Consumer StringSecret - The OAuth 1.0a consumer secret of the Twitter application used for sign-in. This setting is required for enabling Twitter Sign-In. Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in
- twitter
Consumer StringSecret Setting Name - The app setting name that contains the OAuth 1.0a consumer secret of the Twitter application used for sign-in.
- unauthenticated
Client "RedirectAction To Login Page" | "Allow Anonymous" - The action to take when an unauthenticated client attempts to access the app.
- validate
Issuer Boolean - Gets a value indicating whether the issuer should be a valid HTTPS url and be validated as such.
Outputs
All input properties are implicitly available as output properties. Additionally, the WebAppAuthSettingsSlot resource produces the following output properties:
Supporting Types
BuiltInAuthenticationProvider, BuiltInAuthenticationProviderArgs
- Azure
Active Directory - AzureActiveDirectory
- Microsoft
Account - MicrosoftAccount
- Github
- Github
- Built
In Authentication Provider Azure Active Directory - AzureActiveDirectory
- Built
In Authentication Provider Facebook - Built
In Authentication Provider Google - Built
In Authentication Provider Microsoft Account - MicrosoftAccount
- Built
In Authentication Provider Twitter - Built
In Authentication Provider Github - Github
- Azure
Active Directory - AzureActiveDirectory
- Microsoft
Account - MicrosoftAccount
- Github
- Github
- Azure
Active Directory - AzureActiveDirectory
- Microsoft
Account - MicrosoftAccount
- Github
- Github
- AZURE_ACTIVE_DIRECTORY
- AzureActiveDirectory
- MICROSOFT_ACCOUNT
- MicrosoftAccount
- GITHUB
- Github
- "Azure
Active Directory" - AzureActiveDirectory
- "Facebook"
- "Google"
- "Microsoft
Account" - MicrosoftAccount
- "Twitter"
- "Github"
- Github
UnauthenticatedClientAction, UnauthenticatedClientActionArgs
- Redirect
To Login Page - RedirectToLoginPage
- Allow
Anonymous - AllowAnonymous
- Unauthenticated
Client Action Redirect To Login Page - RedirectToLoginPage
- Unauthenticated
Client Action Allow Anonymous - AllowAnonymous
- Redirect
To Login Page - RedirectToLoginPage
- Allow
Anonymous - AllowAnonymous
- Redirect
To Login Page - RedirectToLoginPage
- Allow
Anonymous - AllowAnonymous
- REDIRECT_TO_LOGIN_PAGE
- RedirectToLoginPage
- ALLOW_ANONYMOUS
- AllowAnonymous
- "Redirect
To Login Page" - RedirectToLoginPage
- "Allow
Anonymous" - AllowAnonymous
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0