Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

getNomadAccessToken

Using getNomadAccessToken

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

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

public static class GetNomadAccessToken {
    public static Task<GetNomadAccessTokenResult> InvokeAsync(GetNomadAccessTokenArgs 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.