alicloud¶
This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-vault repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-vault repo.
- class
pulumi_vault.alicloud.AuthBackendRole(resource_name, opts=None, arn=None, backend=None, role=None, token_bound_cidrs=None, token_explicit_max_ttl=None, token_max_ttl=None, token_no_default_policy=None, token_num_uses=None, token_period=None, token_policies=None, token_ttl=None, token_type=None, __props__=None, __name__=None, __opts__=None)¶ Create a AuthBackendRole resource with the given unique name, props, and options. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] arn: The role’s arn. :param pulumi.Input[str] backend: Auth backend. :param pulumi.Input[str] role: Name of the role. Must correspond with the name of the role reflected in the arn. :param pulumi.Input[list] token_bound_cidrs: Specifies the blocks of IP addresses which are allowed to use the generated token :param pulumi.Input[float] token_explicit_max_ttl: Generated Token’s Explicit Maximum TTL in seconds :param pulumi.Input[float] token_max_ttl: The maximum lifetime of the generated token :param pulumi.Input[bool] token_no_default_policy: If true, the ‘default’ policy will not automatically be added to generated tokens :param pulumi.Input[float] token_num_uses: The maximum number of times a token may be used, a value of zero means unlimited :param pulumi.Input[float] token_period: Generated Token’s Period :param pulumi.Input[list] token_policies: Generated Token’s Policies :param pulumi.Input[float] token_ttl: The initial ttl of the token to generate in seconds :param pulumi.Input[str] token_type: The type of token to generate, service or batch
arn: pulumi.Output[str] = None¶The role’s arn.
backend: pulumi.Output[str] = None¶Auth backend.
role: pulumi.Output[str] = None¶Name of the role. Must correspond with the name of the role reflected in the arn.
token_bound_cidrs: pulumi.Output[list] = None¶Specifies the blocks of IP addresses which are allowed to use the generated token
token_explicit_max_ttl: pulumi.Output[float] = None¶Generated Token’s Explicit Maximum TTL in seconds
token_max_ttl: pulumi.Output[float] = None¶The maximum lifetime of the generated token
token_no_default_policy: pulumi.Output[bool] = None¶If true, the ‘default’ policy will not automatically be added to generated tokens
token_num_uses: pulumi.Output[float] = None¶The maximum number of times a token may be used, a value of zero means unlimited
token_period: pulumi.Output[float] = None¶Generated Token’s Period
token_policies: pulumi.Output[list] = None¶Generated Token’s Policies
token_ttl: pulumi.Output[float] = None¶The initial ttl of the token to generate in seconds
token_type: pulumi.Output[str] = None¶The type of token to generate, service or batch
- static
get(resource_name, id, opts=None, arn=None, backend=None, role=None, token_bound_cidrs=None, token_explicit_max_ttl=None, token_max_ttl=None, token_no_default_policy=None, token_num_uses=None, token_period=None, token_policies=None, token_ttl=None, token_type=None)¶ Get an existing AuthBackendRole resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
arn (pulumi.Input[str]) – The role’s arn.
backend (pulumi.Input[str]) – Auth backend.
role (pulumi.Input[str]) – Name of the role. Must correspond with the name of the role reflected in the arn.
token_bound_cidrs (pulumi.Input[list]) – Specifies the blocks of IP addresses which are allowed to use the generated token
token_explicit_max_ttl (pulumi.Input[float]) – Generated Token’s Explicit Maximum TTL in seconds
token_max_ttl (pulumi.Input[float]) – The maximum lifetime of the generated token
token_no_default_policy (pulumi.Input[bool]) – If true, the ‘default’ policy will not automatically be added to generated tokens
token_num_uses (pulumi.Input[float]) – The maximum number of times a token may be used, a value of zero means unlimited
token_period (pulumi.Input[float]) – Generated Token’s Period
token_policies (pulumi.Input[list]) – Generated Token’s Policies
token_ttl (pulumi.Input[float]) – The initial ttl of the token to generate in seconds
token_type (pulumi.Input[str]) – The type of token to generate, service or batch
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str