1. Packages
  2. Avi Provider
  3. API Docs
  4. getJwtserverprofile
avi 31.1.1 published on Monday, Apr 14, 2025 by vmware

avi.getJwtserverprofile

Explore with Pulumi AI

<!–

Copyright 2021 VMware, Inc.
SPDX-License-Identifier: Mozilla Public License 2.0

–>

layout: “avi”

page_title: “AVI: avi.Jwtserverprofile” sidebar_current: “docs-avi-datasource-jwtserverprofile” description: |- Get information of Avi JWTServerProfile.

avi.Jwtserverprofile

This data source is used to to get avi.Jwtserverprofile objects.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as avi from "@pulumi/avi";

const fooJwtserverprofile = avi.getJwtserverprofile({
    name: "foo",
    uuid: "jwtserverprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
});
Copy
import pulumi
import pulumi_avi as avi

foo_jwtserverprofile = avi.get_jwtserverprofile(name="foo",
    uuid="jwtserverprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/avi/v31/avi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := avi.LookupJwtserverprofile(ctx, &avi.LookupJwtserverprofileArgs{
			Name: pulumi.StringRef("foo"),
			Uuid: pulumi.StringRef("jwtserverprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Avi = Pulumi.Avi;

return await Deployment.RunAsync(() => 
{
    var fooJwtserverprofile = Avi.GetJwtserverprofile.Invoke(new()
    {
        Name = "foo",
        Uuid = "jwtserverprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.avi.AviFunctions;
import com.pulumi.avi.inputs.GetJwtserverprofileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var fooJwtserverprofile = AviFunctions.getJwtserverprofile(GetJwtserverprofileArgs.builder()
            .name("foo")
            .uuid("jwtserverprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
            .build());

    }
}
Copy
variables:
  fooJwtserverprofile:
    fn::invoke:
      function: avi:getJwtserverprofile
      arguments:
        name: foo
        uuid: jwtserverprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b
Copy

Using getJwtserverprofile

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 getJwtserverprofile(args: GetJwtserverprofileArgs, opts?: InvokeOptions): Promise<GetJwtserverprofileResult>
function getJwtserverprofileOutput(args: GetJwtserverprofileOutputArgs, opts?: InvokeOptions): Output<GetJwtserverprofileResult>
Copy
def get_jwtserverprofile(id: Optional[str] = None,
                         name: Optional[str] = None,
                         tenant_ref: Optional[str] = None,
                         uuid: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetJwtserverprofileResult
def get_jwtserverprofile_output(id: Optional[pulumi.Input[str]] = None,
                         name: Optional[pulumi.Input[str]] = None,
                         tenant_ref: Optional[pulumi.Input[str]] = None,
                         uuid: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetJwtserverprofileResult]
Copy
func LookupJwtserverprofile(ctx *Context, args *LookupJwtserverprofileArgs, opts ...InvokeOption) (*LookupJwtserverprofileResult, error)
func LookupJwtserverprofileOutput(ctx *Context, args *LookupJwtserverprofileOutputArgs, opts ...InvokeOption) LookupJwtserverprofileResultOutput
Copy

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

public static class GetJwtserverprofile 
{
    public static Task<GetJwtserverprofileResult> InvokeAsync(GetJwtserverprofileArgs args, InvokeOptions? opts = null)
    public static Output<GetJwtserverprofileResult> Invoke(GetJwtserverprofileInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetJwtserverprofileResult> getJwtserverprofile(GetJwtserverprofileArgs args, InvokeOptions options)
public static Output<GetJwtserverprofileResult> getJwtserverprofile(GetJwtserverprofileArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: avi:index/getJwtserverprofile:getJwtserverprofile
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id string
Name string
Search JWTServerProfile by name.
TenantRef string
Uuid of the tenant. It is a reference to an object of type tenant. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
Uuid string
Search JWTServerProfile by uuid.
Id string
Name string
Search JWTServerProfile by name.
TenantRef string
Uuid of the tenant. It is a reference to an object of type tenant. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
Uuid string
Search JWTServerProfile by uuid.
id String
name String
Search JWTServerProfile by name.
tenantRef String
Uuid of the tenant. It is a reference to an object of type tenant. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
uuid String
Search JWTServerProfile by uuid.
id string
name string
Search JWTServerProfile by name.
tenantRef string
Uuid of the tenant. It is a reference to an object of type tenant. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
uuid string
Search JWTServerProfile by uuid.
id str
name str
Search JWTServerProfile by name.
tenant_ref str
Uuid of the tenant. It is a reference to an object of type tenant. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
uuid str
Search JWTServerProfile by uuid.
id String
name String
Search JWTServerProfile by name.
tenantRef String
Uuid of the tenant. It is a reference to an object of type tenant. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
uuid String
Search JWTServerProfile by uuid.

getJwtserverprofile Result

The following output properties are available:

ConfigpbAttributes List<GetJwtserverprofileConfigpbAttribute>
Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
ControllerInternalAuths List<GetJwtserverprofileControllerInternalAuth>
Jwt auth configuration for profile_type controller_internal_auth. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
Id string
IsFederated string
This field describes the object's replication scope. If the field is set to false, then the object is visible within the controller-cluster. If the field is set to true, then the object is replicated across the federation. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
Issuer string
Uniquely identifiable name of the token issuer, only allowed with profile_type client_auth. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
JwksKeys string
Jwks key set used for validating the jwt, only allowed with profile_type client_auth. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
JwtProfileType string
Type of jwt server profile which defines the usage type. Enum options - CLIENT_AUTH, CONTROLLER_INTERNAL_AUTH. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
Name string
Name of the jwt profile. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
TenantRef string
Uuid of the tenant. It is a reference to an object of type tenant. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
Uuid string
Uuid of the jwtprofile. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
ConfigpbAttributes []GetJwtserverprofileConfigpbAttribute
Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
ControllerInternalAuths []GetJwtserverprofileControllerInternalAuth
Jwt auth configuration for profile_type controller_internal_auth. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
Id string
IsFederated string
This field describes the object's replication scope. If the field is set to false, then the object is visible within the controller-cluster. If the field is set to true, then the object is replicated across the federation. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
Issuer string
Uniquely identifiable name of the token issuer, only allowed with profile_type client_auth. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
JwksKeys string
Jwks key set used for validating the jwt, only allowed with profile_type client_auth. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
JwtProfileType string
Type of jwt server profile which defines the usage type. Enum options - CLIENT_AUTH, CONTROLLER_INTERNAL_AUTH. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
Name string
Name of the jwt profile. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
TenantRef string
Uuid of the tenant. It is a reference to an object of type tenant. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
Uuid string
Uuid of the jwtprofile. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
configpbAttributes List<GetJwtserverprofileConfigpbAttribute>
Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
controllerInternalAuths List<GetJwtserverprofileControllerInternalAuth>
Jwt auth configuration for profile_type controller_internal_auth. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
id String
isFederated String
This field describes the object's replication scope. If the field is set to false, then the object is visible within the controller-cluster. If the field is set to true, then the object is replicated across the federation. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
issuer String
Uniquely identifiable name of the token issuer, only allowed with profile_type client_auth. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
jwksKeys String
Jwks key set used for validating the jwt, only allowed with profile_type client_auth. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
jwtProfileType String
Type of jwt server profile which defines the usage type. Enum options - CLIENT_AUTH, CONTROLLER_INTERNAL_AUTH. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
name String
Name of the jwt profile. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
tenantRef String
Uuid of the tenant. It is a reference to an object of type tenant. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
uuid String
Uuid of the jwtprofile. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
configpbAttributes GetJwtserverprofileConfigpbAttribute[]
Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
controllerInternalAuths GetJwtserverprofileControllerInternalAuth[]
Jwt auth configuration for profile_type controller_internal_auth. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
id string
isFederated string
This field describes the object's replication scope. If the field is set to false, then the object is visible within the controller-cluster. If the field is set to true, then the object is replicated across the federation. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
issuer string
Uniquely identifiable name of the token issuer, only allowed with profile_type client_auth. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
jwksKeys string
Jwks key set used for validating the jwt, only allowed with profile_type client_auth. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
jwtProfileType string
Type of jwt server profile which defines the usage type. Enum options - CLIENT_AUTH, CONTROLLER_INTERNAL_AUTH. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
name string
Name of the jwt profile. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
tenantRef string
Uuid of the tenant. It is a reference to an object of type tenant. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
uuid string
Uuid of the jwtprofile. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
configpb_attributes Sequence[GetJwtserverprofileConfigpbAttribute]
Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
controller_internal_auths Sequence[GetJwtserverprofileControllerInternalAuth]
Jwt auth configuration for profile_type controller_internal_auth. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
id str
is_federated str
This field describes the object's replication scope. If the field is set to false, then the object is visible within the controller-cluster. If the field is set to true, then the object is replicated across the federation. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
issuer str
Uniquely identifiable name of the token issuer, only allowed with profile_type client_auth. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
jwks_keys str
Jwks key set used for validating the jwt, only allowed with profile_type client_auth. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
jwt_profile_type str
Type of jwt server profile which defines the usage type. Enum options - CLIENT_AUTH, CONTROLLER_INTERNAL_AUTH. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
name str
Name of the jwt profile. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
tenant_ref str
Uuid of the tenant. It is a reference to an object of type tenant. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
uuid str
Uuid of the jwtprofile. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
configpbAttributes List<Property Map>
Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
controllerInternalAuths List<Property Map>
Jwt auth configuration for profile_type controller_internal_auth. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
id String
isFederated String
This field describes the object's replication scope. If the field is set to false, then the object is visible within the controller-cluster. If the field is set to true, then the object is replicated across the federation. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
issuer String
Uniquely identifiable name of the token issuer, only allowed with profile_type client_auth. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
jwksKeys String
Jwks key set used for validating the jwt, only allowed with profile_type client_auth. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
jwtProfileType String
Type of jwt server profile which defines the usage type. Enum options - CLIENT_AUTH, CONTROLLER_INTERNAL_AUTH. Field introduced in 20.1.6. Allowed with any value in enterprise, enterprise with cloud services edition.
name String
Name of the jwt profile. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
tenantRef String
Uuid of the tenant. It is a reference to an object of type tenant. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
uuid String
Uuid of the jwtprofile. Field introduced in 20.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.

Supporting Types

GetJwtserverprofileConfigpbAttribute

Version This property is required. string
Version This property is required. string
version This property is required. String
version This property is required. string
version This property is required. str
version This property is required. String

GetJwtserverprofileControllerInternalAuth

symmetricJwksKeys This property is required. List<Property Map>

GetJwtserverprofileControllerInternalAuthSymmetricJwksKey

Alg This property is required. string
Key This property is required. string
Kid This property is required. string
Kty This property is required. string
Alg This property is required. string
Key This property is required. string
Kid This property is required. string
Kty This property is required. string
alg This property is required. String
key This property is required. String
kid This property is required. String
kty This property is required. String
alg This property is required. string
key This property is required. string
kid This property is required. string
kty This property is required. string
alg This property is required. str
key This property is required. str
kid This property is required. str
kty This property is required. str
alg This property is required. String
key This property is required. String
kid This property is required. String
kty This property is required. String

Package Details

Repository
avi vmware/terraform-provider-avi
License
Notes
This Pulumi package is based on the avi Terraform Provider.