AuthBackendConfig

Import

Azure auth backends can be imported using auth/, the backend path, and /config e.g.

 $ pulumi import vault:azure/authBackendConfig:AuthBackendConfig example auth/azure/config

Create a AuthBackendConfig Resource

new AuthBackendConfig(name: string, args: AuthBackendConfigArgs, opts?: CustomResourceOptions);
@overload
def AuthBackendConfig(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      backend: Optional[str] = None,
                      client_id: Optional[str] = None,
                      client_secret: Optional[str] = None,
                      environment: Optional[str] = None,
                      resource: Optional[str] = None,
                      tenant_id: Optional[str] = None)
@overload
def AuthBackendConfig(resource_name: str,
                      args: AuthBackendConfigArgs,
                      opts: Optional[ResourceOptions] = None)
func NewAuthBackendConfig(ctx *Context, name string, args AuthBackendConfigArgs, opts ...ResourceOption) (*AuthBackendConfig, error)
public AuthBackendConfig(string name, AuthBackendConfigArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args AuthBackendConfigArgs
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 AuthBackendConfigArgs
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 AuthBackendConfigArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AuthBackendConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

AuthBackendConfig 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 AuthBackendConfig resource accepts the following input properties:

Resource string
The configured URL for the application registered in Azure Active Directory.
TenantId string
The tenant id for the Azure Active Directory organization.
Backend string
The path the Azure auth backend being configured was mounted at. Defaults to azure.
ClientId string
The client id for credentials to query the Azure APIs. Currently read permissions to query compute resources are required.
ClientSecret string
The client secret for credentials to query the Azure APIs.
Environment string
The Azure cloud environment. Valid values: AzurePublicCloud, AzureUSGovernmentCloud, AzureChinaCloud, AzureGermanCloud. Defaults to AzurePublicCloud.
Resource string
The configured URL for the application registered in Azure Active Directory.
TenantId string
The tenant id for the Azure Active Directory organization.
Backend string
The path the Azure auth backend being configured was mounted at. Defaults to azure.
ClientId string
The client id for credentials to query the Azure APIs. Currently read permissions to query compute resources are required.
ClientSecret string
The client secret for credentials to query the Azure APIs.
Environment string
The Azure cloud environment. Valid values: AzurePublicCloud, AzureUSGovernmentCloud, AzureChinaCloud, AzureGermanCloud. Defaults to AzurePublicCloud.
resource string
The configured URL for the application registered in Azure Active Directory.
tenantId string
The tenant id for the Azure Active Directory organization.
backend string
The path the Azure auth backend being configured was mounted at. Defaults to azure.
clientId string
The client id for credentials to query the Azure APIs. Currently read permissions to query compute resources are required.
clientSecret string
The client secret for credentials to query the Azure APIs.
environment string
The Azure cloud environment. Valid values: AzurePublicCloud, AzureUSGovernmentCloud, AzureChinaCloud, AzureGermanCloud. Defaults to AzurePublicCloud.
resource str
The configured URL for the application registered in Azure Active Directory.
tenant_id str
The tenant id for the Azure Active Directory organization.
backend str
The path the Azure auth backend being configured was mounted at. Defaults to azure.
client_id str
The client id for credentials to query the Azure APIs. Currently read permissions to query compute resources are required.
client_secret str
The client secret for credentials to query the Azure APIs.
environment str
The Azure cloud environment. Valid values: AzurePublicCloud, AzureUSGovernmentCloud, AzureChinaCloud, AzureGermanCloud. Defaults to AzurePublicCloud.

Outputs

All input properties are implicitly available as output properties. Additionally, the AuthBackendConfig resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing AuthBackendConfig Resource

Get an existing AuthBackendConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: AuthBackendConfigState, opts?: CustomResourceOptions): AuthBackendConfig
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        backend: Optional[str] = None,
        client_id: Optional[str] = None,
        client_secret: Optional[str] = None,
        environment: Optional[str] = None,
        resource: Optional[str] = None,
        tenant_id: Optional[str] = None) -> AuthBackendConfig
func GetAuthBackendConfig(ctx *Context, name string, id IDInput, state *AuthBackendConfigState, opts ...ResourceOption) (*AuthBackendConfig, error)
public static AuthBackendConfig Get(string name, Input<string> id, AuthBackendConfigState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Backend string
The path the Azure auth backend being configured was mounted at. Defaults to azure.
ClientId string
The client id for credentials to query the Azure APIs. Currently read permissions to query compute resources are required.
ClientSecret string
The client secret for credentials to query the Azure APIs.
Environment string
The Azure cloud environment. Valid values: AzurePublicCloud, AzureUSGovernmentCloud, AzureChinaCloud, AzureGermanCloud. Defaults to AzurePublicCloud.
Resource string
The configured URL for the application registered in Azure Active Directory.
TenantId string
The tenant id for the Azure Active Directory organization.
Backend string
The path the Azure auth backend being configured was mounted at. Defaults to azure.
ClientId string
The client id for credentials to query the Azure APIs. Currently read permissions to query compute resources are required.
ClientSecret string
The client secret for credentials to query the Azure APIs.
Environment string
The Azure cloud environment. Valid values: AzurePublicCloud, AzureUSGovernmentCloud, AzureChinaCloud, AzureGermanCloud. Defaults to AzurePublicCloud.
Resource string
The configured URL for the application registered in Azure Active Directory.
TenantId string
The tenant id for the Azure Active Directory organization.
backend string
The path the Azure auth backend being configured was mounted at. Defaults to azure.
clientId string
The client id for credentials to query the Azure APIs. Currently read permissions to query compute resources are required.
clientSecret string
The client secret for credentials to query the Azure APIs.
environment string
The Azure cloud environment. Valid values: AzurePublicCloud, AzureUSGovernmentCloud, AzureChinaCloud, AzureGermanCloud. Defaults to AzurePublicCloud.
resource string
The configured URL for the application registered in Azure Active Directory.
tenantId string
The tenant id for the Azure Active Directory organization.
backend str
The path the Azure auth backend being configured was mounted at. Defaults to azure.
client_id str
The client id for credentials to query the Azure APIs. Currently read permissions to query compute resources are required.
client_secret str
The client secret for credentials to query the Azure APIs.
environment str
The Azure cloud environment. Valid values: AzurePublicCloud, AzureUSGovernmentCloud, AzureChinaCloud, AzureGermanCloud. Defaults to AzurePublicCloud.
resource str
The configured URL for the application registered in Azure Active Directory.
tenant_id str
The tenant id for the Azure Active Directory organization.

Package Details

Repository
https://github.com/pulumi/pulumi-vault
License
Apache-2.0
Notes
This Pulumi package is based on the vault Terraform Provider.