BackendRole
Create a BackendRole Resource
new BackendRole(name: string, args: BackendRoleArgs, opts?: CustomResourceOptions);def BackendRole(resource_name, opts=None, application_object_id=None, azure_roles=None, backend=None, description=None, max_ttl=None, role=None, ttl=None, __props__=None);func NewBackendRole(ctx *Context, name string, args BackendRoleArgs, opts ...ResourceOption) (*BackendRole, error)public BackendRole(string name, BackendRoleArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args BackendRoleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BackendRoleArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BackendRoleArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
BackendRole Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The BackendRole resource accepts the following input properties:
- Role string
Name of the Azure role
- Application
Object stringId Application Object ID for an existing service principal that will be used instead of creating dynamic service principals. If present,
azure_roleswill be ignored.- Azure
Roles List<BackendRole Azure Role Args> List of Azure roles to be assigned to the generated service principal.
- Backend string
Path to the mounted Azure auth backend
- Description string
Human-friendly description of the mount for the backend.
- Max
Ttl string Specifies the maximum TTL for service principals generated using this role. Accepts time suffixed strings (“1h”) or an integer number of seconds. Defaults to the system/engine max TTL time.
- Ttl string
Specifies the default TTL for service principals generated using this role. Accepts time suffixed strings (“1h”) or an integer number of seconds. Defaults to the system/engine default TTL time.
- Role string
Name of the Azure role
- Application
Object stringId Application Object ID for an existing service principal that will be used instead of creating dynamic service principals. If present,
azure_roleswill be ignored.- Azure
Roles []BackendRole Azure Role List of Azure roles to be assigned to the generated service principal.
- Backend string
Path to the mounted Azure auth backend
- Description string
Human-friendly description of the mount for the backend.
- Max
Ttl string Specifies the maximum TTL for service principals generated using this role. Accepts time suffixed strings (“1h”) or an integer number of seconds. Defaults to the system/engine max TTL time.
- Ttl string
Specifies the default TTL for service principals generated using this role. Accepts time suffixed strings (“1h”) or an integer number of seconds. Defaults to the system/engine default TTL time.
- role string
Name of the Azure role
- application
Object stringId Application Object ID for an existing service principal that will be used instead of creating dynamic service principals. If present,
azure_roleswill be ignored.- azure
Roles BackendRole Azure Role[] List of Azure roles to be assigned to the generated service principal.
- backend string
Path to the mounted Azure auth backend
- description string
Human-friendly description of the mount for the backend.
- max
Ttl string Specifies the maximum TTL for service principals generated using this role. Accepts time suffixed strings (“1h”) or an integer number of seconds. Defaults to the system/engine max TTL time.
- ttl string
Specifies the default TTL for service principals generated using this role. Accepts time suffixed strings (“1h”) or an integer number of seconds. Defaults to the system/engine default TTL time.
- role str
Name of the Azure role
- application_
object_ strid Application Object ID for an existing service principal that will be used instead of creating dynamic service principals. If present,
azure_roleswill be ignored.- azure_
roles List[BackendRole Azure Role] List of Azure roles to be assigned to the generated service principal.
- backend str
Path to the mounted Azure auth backend
- description str
Human-friendly description of the mount for the backend.
- max_
ttl str Specifies the maximum TTL for service principals generated using this role. Accepts time suffixed strings (“1h”) or an integer number of seconds. Defaults to the system/engine max TTL time.
- ttl str
Specifies the default TTL for service principals generated using this role. Accepts time suffixed strings (“1h”) or an integer number of seconds. Defaults to the system/engine default TTL time.
Outputs
All input properties are implicitly available as output properties. Additionally, the BackendRole resource produces the following output properties:
Look up an Existing BackendRole Resource
Get an existing BackendRole 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?: BackendRoleState, opts?: CustomResourceOptions): BackendRolestatic get(resource_name, id, opts=None, application_object_id=None, azure_roles=None, backend=None, description=None, max_ttl=None, role=None, ttl=None, __props__=None);func GetBackendRole(ctx *Context, name string, id IDInput, state *BackendRoleState, opts ...ResourceOption) (*BackendRole, error)public static BackendRole Get(string name, Input<string> id, BackendRoleState? 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:
- Application
Object stringId Application Object ID for an existing service principal that will be used instead of creating dynamic service principals. If present,
azure_roleswill be ignored.- Azure
Roles List<BackendRole Azure Role Args> List of Azure roles to be assigned to the generated service principal.
- Backend string
Path to the mounted Azure auth backend
- Description string
Human-friendly description of the mount for the backend.
- Max
Ttl string Specifies the maximum TTL for service principals generated using this role. Accepts time suffixed strings (“1h”) or an integer number of seconds. Defaults to the system/engine max TTL time.
- Role string
Name of the Azure role
- Ttl string
Specifies the default TTL for service principals generated using this role. Accepts time suffixed strings (“1h”) or an integer number of seconds. Defaults to the system/engine default TTL time.
- Application
Object stringId Application Object ID for an existing service principal that will be used instead of creating dynamic service principals. If present,
azure_roleswill be ignored.- Azure
Roles []BackendRole Azure Role List of Azure roles to be assigned to the generated service principal.
- Backend string
Path to the mounted Azure auth backend
- Description string
Human-friendly description of the mount for the backend.
- Max
Ttl string Specifies the maximum TTL for service principals generated using this role. Accepts time suffixed strings (“1h”) or an integer number of seconds. Defaults to the system/engine max TTL time.
- Role string
Name of the Azure role
- Ttl string
Specifies the default TTL for service principals generated using this role. Accepts time suffixed strings (“1h”) or an integer number of seconds. Defaults to the system/engine default TTL time.
- application
Object stringId Application Object ID for an existing service principal that will be used instead of creating dynamic service principals. If present,
azure_roleswill be ignored.- azure
Roles BackendRole Azure Role[] List of Azure roles to be assigned to the generated service principal.
- backend string
Path to the mounted Azure auth backend
- description string
Human-friendly description of the mount for the backend.
- max
Ttl string Specifies the maximum TTL for service principals generated using this role. Accepts time suffixed strings (“1h”) or an integer number of seconds. Defaults to the system/engine max TTL time.
- role string
Name of the Azure role
- ttl string
Specifies the default TTL for service principals generated using this role. Accepts time suffixed strings (“1h”) or an integer number of seconds. Defaults to the system/engine default TTL time.
- application_
object_ strid Application Object ID for an existing service principal that will be used instead of creating dynamic service principals. If present,
azure_roleswill be ignored.- azure_
roles List[BackendRole Azure Role] List of Azure roles to be assigned to the generated service principal.
- backend str
Path to the mounted Azure auth backend
- description str
Human-friendly description of the mount for the backend.
- max_
ttl str Specifies the maximum TTL for service principals generated using this role. Accepts time suffixed strings (“1h”) or an integer number of seconds. Defaults to the system/engine max TTL time.
- role str
Name of the Azure role
- ttl str
Specifies the default TTL for service principals generated using this role. Accepts time suffixed strings (“1h”) or an integer number of seconds. Defaults to the system/engine default TTL time.
Supporting Types
BackendRoleAzureRole
Package Details
- Repository
- https://github.com/pulumi/pulumi-vault
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vaultTerraform Provider.