Show / Hide Table of Contents

Namespace Pulumi.Vault.AppRole

Classes

AuthBackendLogin

Logs into Vault using the AppRole auth backend. See the Vault documentation for more information.

Example Usage

using Pulumi;
using Vault = Pulumi.Vault;

class MyStack : Stack
{
public MyStack()
{
    var approle = new Vault.AuthBackend("approle", new Vault.AuthBackendArgs
    {
        Type = "approle",
    });
    var example = new Vault.AppRole.AuthBackendRole("example", new Vault.AppRole.AuthBackendRoleArgs
    {
        Backend = approle.Path,
        Policies = 
        {
            "default",
            "dev",
            "prod",
        },
        RoleName = "test-role",
    });
    var id = new Vault.AppRole.AuthBackendRoleSecretID("id", new Vault.AppRole.AuthBackendRoleSecretIDArgs
    {
        Backend = approle.Path,
        RoleName = example.RoleName,
    });
    var login = new Vault.AppRole.AuthBackendLogin("login", new Vault.AppRole.AuthBackendLoginArgs
    {
        Backend = approle.Path,
        RoleId = example.RoleId,
        SecretId = id.SecretId,
    });
}

}

AuthBackendLoginArgs

AuthBackendLoginState

AuthBackendRole

Manages an AppRole auth backend role in a Vault server. See the Vault documentation for more information.

Example Usage

using Pulumi;
using Vault = Pulumi.Vault;

class MyStack : Stack
{
public MyStack()
{
    var approle = new Vault.AuthBackend("approle", new Vault.AuthBackendArgs
    {
        Type = "approle",
    });
    var example = new Vault.AppRole.AuthBackendRole("example", new Vault.AppRole.AuthBackendRoleArgs
    {
        Backend = approle.Path,
        RoleName = "test-role",
        TokenPolicies = 
        {
            "default",
            "dev",
            "prod",
        },
    });
}

}

AuthBackendRoleArgs

AuthBackendRoleSecretID

Manages an AppRole auth backend SecretID in a Vault server. See the Vault documentation for more information.

Example Usage

using Pulumi;
using Vault = Pulumi.Vault;

class MyStack : Stack
{
public MyStack()
{
    var approle = new Vault.AuthBackend("approle", new Vault.AuthBackendArgs
    {
        Type = "approle",
    });
    var example = new Vault.AppRole.AuthBackendRole("example", new Vault.AppRole.AuthBackendRoleArgs
    {
        Backend = approle.Path,
        Policies = 
        {
            "default",
            "dev",
            "prod",
        },
        RoleName = "test-role",
    });
    var id = new Vault.AppRole.AuthBackendRoleSecretID("id", new Vault.AppRole.AuthBackendRoleSecretIDArgs
    {
        Backend = approle.Path,
        Metadata = @"{
""hello"": ""world""
}

",
        RoleName = example.RoleName,
    });
}

}

AuthBackendRoleSecretIDArgs

AuthBackendRoleSecretIDState

AuthBackendRoleState

GetAuthBackendRoleId

GetAuthBackendRoleIdArgs

GetAuthBackendRoleIdResult

Back to top Copyright 2016-2020, Pulumi Corporation.