Show / Hide Table of Contents

Class GetAuthBackendRole

Inheritance
System.Object
GetAuthBackendRole
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Vault.Kubernetes
Assembly: Pulumi.Vault.dll
Syntax
public static class GetAuthBackendRole

Methods

View Source

InvokeAsync(GetAuthBackendRoleArgs, InvokeOptions)

Reads the Role of an Kubernetes from a Vault server. See the Vault documentation for more information.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Vault = Pulumi.Vault;

class MyStack : Stack
{
public MyStack()
{
    var role = Output.Create(Vault.Kubernetes.GetAuthBackendRole.InvokeAsync(new Vault.Kubernetes.GetAuthBackendRoleArgs
    {
        Backend = "my-kubernetes-backend",
        RoleName = "my-role",
    }));
    this.Policies = role.Apply(role => role.Policies);
}

[Output("policies")]
public Output<string> Policies { get; set; }
}

{{% /example %}} {{% /examples %}}

Declaration
public static Task<GetAuthBackendRoleResult> InvokeAsync(GetAuthBackendRoleArgs args, InvokeOptions options = null)
Parameters
Type Name Description
GetAuthBackendRoleArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetAuthBackendRoleResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.