Okta v4.11.3 published on Monday, Oct 21, 2024 by Pulumi
okta.getAuthServerClaims
Explore with Pulumi AI
Get a list of authorization server claims from Okta.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";
const test = okta.getAuthServerClaims({
    authServerId: "default",
});
import pulumi
import pulumi_okta as okta
test = okta.get_auth_server_claims(auth_server_id="default")
package main
import (
	"github.com/pulumi/pulumi-okta/sdk/v4/go/okta"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := okta.GetAuthServerClaims(ctx, &okta.GetAuthServerClaimsArgs{
			AuthServerId: "default",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Okta = Pulumi.Okta;
return await Deployment.RunAsync(() => 
{
    var test = Okta.GetAuthServerClaims.Invoke(new()
    {
        AuthServerId = "default",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.okta.OktaFunctions;
import com.pulumi.okta.inputs.GetAuthServerClaimsArgs;
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 test = OktaFunctions.getAuthServerClaims(GetAuthServerClaimsArgs.builder()
            .authServerId("default")
            .build());
    }
}
variables:
  test:
    fn::invoke:
      Function: okta:getAuthServerClaims
      Arguments:
        authServerId: default
Using getAuthServerClaims
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 getAuthServerClaims(args: GetAuthServerClaimsArgs, opts?: InvokeOptions): Promise<GetAuthServerClaimsResult>
function getAuthServerClaimsOutput(args: GetAuthServerClaimsOutputArgs, opts?: InvokeOptions): Output<GetAuthServerClaimsResult>def get_auth_server_claims(auth_server_id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetAuthServerClaimsResult
def get_auth_server_claims_output(auth_server_id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetAuthServerClaimsResult]func GetAuthServerClaims(ctx *Context, args *GetAuthServerClaimsArgs, opts ...InvokeOption) (*GetAuthServerClaimsResult, error)
func GetAuthServerClaimsOutput(ctx *Context, args *GetAuthServerClaimsOutputArgs, opts ...InvokeOption) GetAuthServerClaimsResultOutput> Note: This function is named GetAuthServerClaims in the Go SDK.
public static class GetAuthServerClaims 
{
    public static Task<GetAuthServerClaimsResult> InvokeAsync(GetAuthServerClaimsArgs args, InvokeOptions? opts = null)
    public static Output<GetAuthServerClaimsResult> Invoke(GetAuthServerClaimsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAuthServerClaimsResult> getAuthServerClaims(GetAuthServerClaimsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: okta:index/getAuthServerClaims:getAuthServerClaims
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Auth
Server stringId  - Auth server ID
 
- Auth
Server stringId  - Auth server ID
 
- auth
Server StringId  - Auth server ID
 
- auth
Server stringId  - Auth server ID
 
- auth_
server_ strid  - Auth server ID
 
- auth
Server StringId  - Auth server ID
 
getAuthServerClaims Result
The following output properties are available:
- Auth
Server stringId  - Auth server ID
 - Claims
List<Get
Auth Server Claims Claim>  - Collection of authorization server claims retrieved from Okta with the following properties.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 
- Auth
Server stringId  - Auth server ID
 - Claims
[]Get
Auth Server Claims Claim  - Collection of authorization server claims retrieved from Okta with the following properties.
 - Id string
 - The provider-assigned unique ID for this managed resource.
 
- auth
Server StringId  - Auth server ID
 - claims
List<Get
Auth Server Claims Claim>  - Collection of authorization server claims retrieved from Okta with the following properties.
 - id String
 - The provider-assigned unique ID for this managed resource.
 
- auth
Server stringId  - Auth server ID
 - claims
Get
Auth Server Claims Claim[]  - Collection of authorization server claims retrieved from Okta with the following properties.
 - id string
 - The provider-assigned unique ID for this managed resource.
 
- auth_
server_ strid  - Auth server ID
 - claims
Sequence[Get
Auth Server Claims Claim]  - Collection of authorization server claims retrieved from Okta with the following properties.
 - id str
 - The provider-assigned unique ID for this managed resource.
 
- auth
Server StringId  - Auth server ID
 - claims List<Property Map>
 - Collection of authorization server claims retrieved from Okta with the following properties.
 - id String
 - The provider-assigned unique ID for this managed resource.
 
Supporting Types
GetAuthServerClaimsClaim    
- Always
Include boolIn Token  - Specifies whether to include Claims in the token.
 - Claim
Type string - Specifies whether the Claim is for an access token (
RESOURCE) or ID token (IDENTITY). - Id string
 - ID of the claim.
 - Name string
 - Name of the claim.
 - Scopes List<string>
 - Specifies the scopes for this Claim.
 - Status string
 - Status of the claim.
 - Value string
 - Value of the claim.
 - Value
Type string - Specifies whether the Claim is an Okta EL expression (
EXPRESSION), a set of groups (GROUPS), or a system claim (SYSTEM) 
- Always
Include boolIn Token  - Specifies whether to include Claims in the token.
 - Claim
Type string - Specifies whether the Claim is for an access token (
RESOURCE) or ID token (IDENTITY). - Id string
 - ID of the claim.
 - Name string
 - Name of the claim.
 - Scopes []string
 - Specifies the scopes for this Claim.
 - Status string
 - Status of the claim.
 - Value string
 - Value of the claim.
 - Value
Type string - Specifies whether the Claim is an Okta EL expression (
EXPRESSION), a set of groups (GROUPS), or a system claim (SYSTEM) 
- always
Include BooleanIn Token  - Specifies whether to include Claims in the token.
 - claim
Type String - Specifies whether the Claim is for an access token (
RESOURCE) or ID token (IDENTITY). - id String
 - ID of the claim.
 - name String
 - Name of the claim.
 - scopes List<String>
 - Specifies the scopes for this Claim.
 - status String
 - Status of the claim.
 - value String
 - Value of the claim.
 - value
Type String - Specifies whether the Claim is an Okta EL expression (
EXPRESSION), a set of groups (GROUPS), or a system claim (SYSTEM) 
- always
Include booleanIn Token  - Specifies whether to include Claims in the token.
 - claim
Type string - Specifies whether the Claim is for an access token (
RESOURCE) or ID token (IDENTITY). - id string
 - ID of the claim.
 - name string
 - Name of the claim.
 - scopes string[]
 - Specifies the scopes for this Claim.
 - status string
 - Status of the claim.
 - value string
 - Value of the claim.
 - value
Type string - Specifies whether the Claim is an Okta EL expression (
EXPRESSION), a set of groups (GROUPS), or a system claim (SYSTEM) 
- always_
include_ boolin_ token  - Specifies whether to include Claims in the token.
 - claim_
type str - Specifies whether the Claim is for an access token (
RESOURCE) or ID token (IDENTITY). - id str
 - ID of the claim.
 - name str
 - Name of the claim.
 - scopes Sequence[str]
 - Specifies the scopes for this Claim.
 - status str
 - Status of the claim.
 - value str
 - Value of the claim.
 - value_
type str - Specifies whether the Claim is an Okta EL expression (
EXPRESSION), a set of groups (GROUPS), or a system claim (SYSTEM) 
- always
Include BooleanIn Token  - Specifies whether to include Claims in the token.
 - claim
Type String - Specifies whether the Claim is for an access token (
RESOURCE) or ID token (IDENTITY). - id String
 - ID of the claim.
 - name String
 - Name of the claim.
 - scopes List<String>
 - Specifies the scopes for this Claim.
 - status String
 - Status of the claim.
 - value String
 - Value of the claim.
 - value
Type String - Specifies whether the Claim is an Okta EL expression (
EXPRESSION), a set of groups (GROUPS), or a system claim (SYSTEM) 
Package Details
- Repository
 - Okta pulumi/pulumi-okta
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
oktaTerraform Provider.