permalink |
---|
/azure_auth_backend_config/ |
azure_auth_backend_config
represents the vault_azure_auth_backend_config
Terraform resource.
This package contains functions and utilities for setting up the resource using Jsonnet code.
fn new()
fn newAttrs()
fn withBackend()
fn withClientId()
fn withClientSecret()
fn withEnvironment()
fn withNamespace()
fn withResource()
fn withTenantId()
new()
vault.azure_auth_backend_config.new
injects a new vault_azure_auth_backend_config
Terraform resource
block into the root module document.
Additionally, this inserts a private function into the _ref
attribute that generates references to attributes of the
resource. For example, if you added a new instance to the root using:
# arguments omitted for brevity
vault.azure_auth_backend_config.new('some_id')
You can get the reference to the id
field of the created vault.azure_auth_backend_config
using the reference:
$._ref.vault_azure_auth_backend_config.some_id.get('id')
This is the same as directly entering "${ vault_azure_auth_backend_config.some_id.id }"
as the value.
NOTE: if you are chaining multiple resources together in a merge operation, you may not be able to use super
, self
,
or $
to refer to the root object. Instead, make an explicit outer object using local
.
Args:
resourceLabel
(string
): The name label of the block.backend
(string
): Unique name of the auth backend to configure. Whennull
, thebackend
field will be omitted from the resulting object.client_id
(string
): The client id for credentials to query the Azure APIs. Currently read permissions to query compute resources are required. Whennull
, theclient_id
field will be omitted from the resulting object.client_secret
(string
): The client secret for credentials to query the Azure APIs Whennull
, theclient_secret
field will be omitted from the resulting object.environment
(string
): The Azure cloud environment. Valid values: AzurePublicCloud, AzureUSGovernmentCloud, AzureChinaCloud, AzureGermanCloud. Whennull
, theenvironment
field will be omitted from the resulting object.namespace
(string
): Target namespace. (requires Enterprise) Whennull
, thenamespace
field will be omitted from the resulting object.resource
(string
): The configured URL for the application registered in Azure Active Directory.tenant_id
(string
): The tenant id for the Azure Active Directory organization.
Returns:
- A mixin object that injects the new resource into the root Terraform configuration.
newAttrs()
vault.azure_auth_backend_config.newAttrs
constructs a new object with attributes and blocks configured for the azure_auth_backend_config
Terraform resource.
Unlike vault.azure_auth_backend_config.new, this function will not inject the resource
block into the root Terraform document. Instead, this must be passed in as the attrs
argument for the
tf.withResource function to build a complete block.
This is most useful when you need to preprocess the attributes with functions, conditional, or looping logic prior to injecting into a complete block.
Args:
backend
(string
): Unique name of the auth backend to configure. Whennull
, thebackend
field will be omitted from the resulting object.client_id
(string
): The client id for credentials to query the Azure APIs. Currently read permissions to query compute resources are required. Whennull
, theclient_id
field will be omitted from the resulting object.client_secret
(string
): The client secret for credentials to query the Azure APIs Whennull
, theclient_secret
field will be omitted from the resulting object.environment
(string
): The Azure cloud environment. Valid values: AzurePublicCloud, AzureUSGovernmentCloud, AzureChinaCloud, AzureGermanCloud. Whennull
, theenvironment
field will be omitted from the resulting object.namespace
(string
): Target namespace. (requires Enterprise) Whennull
, thenamespace
field will be omitted from the resulting object.resource
(string
): The configured URL for the application registered in Azure Active Directory.tenant_id
(string
): The tenant id for the Azure Active Directory organization.
Returns:
- An attribute object that can be used with tf.withResource to construct a new
azure_auth_backend_config
resource into the root Terraform configuration.
withBackend()
vault.string.withBackend
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the backend field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thebackend
field.
withClientId()
vault.string.withClientId
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the client_id field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theclient_id
field.
withClientSecret()
vault.string.withClientSecret
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the client_secret field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theclient_secret
field.
withEnvironment()
vault.string.withEnvironment
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the environment field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theenvironment
field.
withNamespace()
vault.string.withNamespace
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the namespace field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thenamespace
field.
withResource()
vault.string.withResource
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the resource field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for theresource
field.
withTenantId()
vault.string.withTenantId
constructs a mixin object that can be merged into the string
Terraform resource block to set or update the tenant_id field.
Args:
resourceLabel
(string
): The name label of the block to update.value
(string
): The value to set for thetenant_id
field.