HashiCorp Vault

v5.1.0 published on Thursday, Dec 30, 2021 by Pulumi

getNomadAccessToken

Using getNomadAccessToken

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getNomadAccessToken(args: GetNomadAccessTokenArgs, opts?: InvokeOptions): Promise<GetNomadAccessTokenResult>
function getNomadAccessTokenOutput(args: GetNomadAccessTokenOutputArgs, opts?: InvokeOptions): Output<GetNomadAccessTokenResult>
def get_nomad_access_token(backend: Optional[str] = None,
                           role: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetNomadAccessTokenResult
def get_nomad_access_token_output(backend: Optional[pulumi.Input[str]] = None,
                           role: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetNomadAccessTokenResult]
func GetNomadAccessToken(ctx *Context, args *GetNomadAccessTokenArgs, opts ...InvokeOption) (*GetNomadAccessTokenResult, error)
func GetNomadAccessTokenOutput(ctx *Context, args *GetNomadAccessTokenOutputArgs, opts ...InvokeOption) GetNomadAccessTokenResultOutput

> Note: This function is named GetNomadAccessToken in the Go SDK.

public static class GetNomadAccessToken 
{
    public static Task<GetNomadAccessTokenResult> InvokeAsync(GetNomadAccessTokenArgs args, InvokeOptions? opts = null)
    public static Output<GetNomadAccessTokenResult> Invoke(GetNomadAccessTokenInvokeArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Backend string
The path to the Nomad secret backend to read credentials from, with no leading or trailing /s.
Role string
The name of the Nomad secret backend role to generate a token for, with no leading or trailing /s.
Backend string
The path to the Nomad secret backend to read credentials from, with no leading or trailing /s.
Role string
The name of the Nomad secret backend role to generate a token for, with no leading or trailing /s.
backend string
The path to the Nomad secret backend to read credentials from, with no leading or trailing /s.
role string
The name of the Nomad secret backend role to generate a token for, with no leading or trailing /s.
backend str
The path to the Nomad secret backend to read credentials from, with no leading or trailing /s.
role str
The name of the Nomad secret backend role to generate a token for, with no leading or trailing /s.

getNomadAccessToken Result

The following output properties are available:

AccessorId string
The public identifier for a specific token. It can be used to look up information about a token or to revoke a token.
Backend string
Id string
The provider-assigned unique ID for this managed resource.
Role string
SecretId string
The token to be used when making requests to Nomad and should be kept private.
AccessorId string
The public identifier for a specific token. It can be used to look up information about a token or to revoke a token.
Backend string
Id string
The provider-assigned unique ID for this managed resource.
Role string
SecretId string
The token to be used when making requests to Nomad and should be kept private.
accessorId string
The public identifier for a specific token. It can be used to look up information about a token or to revoke a token.
backend string
id string
The provider-assigned unique ID for this managed resource.
role string
secretId string
The token to be used when making requests to Nomad and should be kept private.
accessor_id str
The public identifier for a specific token. It can be used to look up information about a token or to revoke a token.
backend str
id str
The provider-assigned unique ID for this managed resource.
role str
secret_id str
The token to be used when making requests to Nomad and should be kept private.

Package Details

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