EntityAlias

Import

Identity entity alias can be imported using the id, e.g.

 $ pulumi import vault:identity/entityAlias:EntityAlias test "3856fb4d-3c91-dcaf-2401-68f446796bfb"

Create a EntityAlias Resource

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

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

CanonicalId string
Entity ID to which this alias belongs to.
MountAccessor string
Accessor of the mount to which the alias should belong to.
Name string
Name of the alias. Name should be the identifier of the client in the authentication source. For example, if the alias belongs to userpass backend, the name should be a valid username within userpass backend. If alias belongs to GitHub, it should be the GitHub username.
CanonicalId string
Entity ID to which this alias belongs to.
MountAccessor string
Accessor of the mount to which the alias should belong to.
Name string
Name of the alias. Name should be the identifier of the client in the authentication source. For example, if the alias belongs to userpass backend, the name should be a valid username within userpass backend. If alias belongs to GitHub, it should be the GitHub username.
canonicalId string
Entity ID to which this alias belongs to.
mountAccessor string
Accessor of the mount to which the alias should belong to.
name string
Name of the alias. Name should be the identifier of the client in the authentication source. For example, if the alias belongs to userpass backend, the name should be a valid username within userpass backend. If alias belongs to GitHub, it should be the GitHub username.
canonical_id str
Entity ID to which this alias belongs to.
mount_accessor str
Accessor of the mount to which the alias should belong to.
name str
Name of the alias. Name should be the identifier of the client in the authentication source. For example, if the alias belongs to userpass backend, the name should be a valid username within userpass backend. If alias belongs to GitHub, it should be the GitHub username.

Outputs

All input properties are implicitly available as output properties. Additionally, the EntityAlias 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 EntityAlias Resource

Get an existing EntityAlias 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?: EntityAliasState, opts?: CustomResourceOptions): EntityAlias
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        canonical_id: Optional[str] = None,
        mount_accessor: Optional[str] = None,
        name: Optional[str] = None) -> EntityAlias
func GetEntityAlias(ctx *Context, name string, id IDInput, state *EntityAliasState, opts ...ResourceOption) (*EntityAlias, error)
public static EntityAlias Get(string name, Input<string> id, EntityAliasState? 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:

CanonicalId string
Entity ID to which this alias belongs to.
MountAccessor string
Accessor of the mount to which the alias should belong to.
Name string
Name of the alias. Name should be the identifier of the client in the authentication source. For example, if the alias belongs to userpass backend, the name should be a valid username within userpass backend. If alias belongs to GitHub, it should be the GitHub username.
CanonicalId string
Entity ID to which this alias belongs to.
MountAccessor string
Accessor of the mount to which the alias should belong to.
Name string
Name of the alias. Name should be the identifier of the client in the authentication source. For example, if the alias belongs to userpass backend, the name should be a valid username within userpass backend. If alias belongs to GitHub, it should be the GitHub username.
canonicalId string
Entity ID to which this alias belongs to.
mountAccessor string
Accessor of the mount to which the alias should belong to.
name string
Name of the alias. Name should be the identifier of the client in the authentication source. For example, if the alias belongs to userpass backend, the name should be a valid username within userpass backend. If alias belongs to GitHub, it should be the GitHub username.
canonical_id str
Entity ID to which this alias belongs to.
mount_accessor str
Accessor of the mount to which the alias should belong to.
name str
Name of the alias. Name should be the identifier of the client in the authentication source. For example, if the alias belongs to userpass backend, the name should be a valid username within userpass backend. If alias belongs to GitHub, it should be the GitHub username.

Package Details

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