OidcArgs

data class OidcArgs(val issuer: Output<String>? = null, val namespace: Output<String>? = null) : ConvertibleToJava<OidcArgs>

Configure the Identity Tokens Backend. The Identity secrets engine is the identity management solution for Vault. It internally maintains the clients who are recognized by Vault.

NOTE: Each Vault server may only have one Identity Tokens Backend configuration. Multiple configurations of the resource against the same Vault server will cause a perpetual difference.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as vault from "@pulumi/vault";
const server = new vault.identity.Oidc("server", {issuer: "https://www.acme.com"});
import pulumi
import pulumi_vault as vault
server = vault.identity.Oidc("server", issuer="https://www.acme.com")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vault = Pulumi.Vault;
return await Deployment.RunAsync(() =>
{
var server = new Vault.Identity.Oidc("server", new()
{
Issuer = "https://www.acme.com",
});
});
package main
import (
"github.com/pulumi/pulumi-vault/sdk/v6/go/vault/identity"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := identity.NewOidc(ctx, "server", &identity.OidcArgs{
Issuer: pulumi.String("https://www.acme.com"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vault.identity.Oidc;
import com.pulumi.vault.identity.OidcArgs;
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) {
var server = new Oidc("server", OidcArgs.builder()
.issuer("https://www.acme.com")
.build());
}
}
resources:
server:
type: vault:identity:Oidc
properties:
issuer: https://www.acme.com

Constructors

Link copied to clipboard
constructor(issuer: Output<String>? = null, namespace: Output<String>? = null)

Properties

Link copied to clipboard
val issuer: Output<String>? = null

Issuer URL to be used in the iss claim of the token. If not set, Vault's api_addr will be used. The issuer is a case sensitive URL using the https scheme that contains scheme, host, and optionally, port number and path components, but no query or fragment components.

Link copied to clipboard
val namespace: Output<String>? = null

The namespace to provision the resource in. The value should not contain leading or trailing forward slashes. The namespace is always relative to the provider's configured namespace. Available only for Vault Enterprise.

Functions

Link copied to clipboard
open override fun toJava(): OidcArgs