Class OidcRole
Inherited Members
Namespace: Pulumi.Vault.Identity
Assembly: Pulumi.Vault.dll
Syntax
public class OidcRole : CustomResource
Constructors
View SourceOidcRole(String, OidcRoleArgs, CustomResourceOptions)
Create a OidcRole resource with the given unique name, arguments, and options.
Declaration
public OidcRole(string name, OidcRoleArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| OidcRoleArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceClientId
The value that will be included in the aud field of all the OIDC identity
tokens issued by this role
Declaration
public Output<string> ClientId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Key
A configured named key, the key must already exist before tokens can be issued.
Declaration
public Output<string> Key { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
Name of the OIDC Role to create.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Template
The template string to use for generating tokens. This may be in string-ified JSON or base64 format. See the documentation for the template format.
Declaration
public Output<string> Template { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Ttl
TTL of the tokens generated against the role in number of seconds.
Declaration
public Output<int?> Ttl { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
Methods
View SourceGet(String, Input<String>, OidcRoleState, CustomResourceOptions)
Get an existing OidcRole resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static OidcRole Get(string name, Input<string> id, OidcRoleState 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. |
| OidcRoleState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| OidcRole |