Class BackendRole
Inherited Members
Namespace: Pulumi.Vault.Azure
Assembly: Pulumi.Vault.dll
Syntax
public class BackendRole : CustomResource
Constructors
View SourceBackendRole(String, BackendRoleArgs, CustomResourceOptions)
Create a BackendRole resource with the given unique name, arguments, and options.
Declaration
public BackendRole(string name, BackendRoleArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| BackendRoleArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceApplicationObjectId
Application Object ID for an existing service principal that will
be used instead of creating dynamic service principals. If present, azure_roles will be ignored.
Declaration
public Output<string> ApplicationObjectId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AzureRoles
List of Azure roles to be assigned to the generated service principal.
Declaration
public Output<ImmutableArray<BackendRoleAzureRole>> AzureRoles { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<BackendRoleAzureRole>> |
Backend
Path to the mounted Azure auth backend
Declaration
public Output<string> Backend { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Description
Human-friendly description of the mount for the backend.
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
MaxTtl
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.
Declaration
public Output<string> MaxTtl { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Role
Name of the Azure role
Declaration
public Output<string> Role { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Ttl
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.
Declaration
public Output<string> Ttl { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, BackendRoleState, CustomResourceOptions)
Get an existing BackendRole resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static BackendRole Get(string name, Input<string> id, BackendRoleState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| BackendRoleState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| BackendRole |