Show / Hide Table of Contents

Class AuthBackend

Provides a resource to configure the GCP auth backend within Vault.

Example Usage

using System.IO;
using Pulumi;
using Vault = Pulumi.Vault;

class MyStack : Stack
{
public MyStack()
{
    var gcp = new Vault.Gcp.AuthBackend("gcp", new Vault.Gcp.AuthBackendArgs
    {
        Credentials = File.ReadAllText("vault-gcp-credentials.json"),
    });
}

}
Inheritance
System.Object
Resource
CustomResource
AuthBackend
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
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.Gcp
Assembly: Pulumi.Vault.dll
Syntax
public class AuthBackend : CustomResource

Constructors

View Source

AuthBackend(String, AuthBackendArgs, CustomResourceOptions)

Create a AuthBackend resource with the given unique name, arguments, and options.

Declaration
public AuthBackend(string name, AuthBackendArgs args = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

AuthBackendArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

ClientEmail

The clients email associated with the credentials

Declaration
public Output<string> ClientEmail { get; }
Property Value
Type Description
Output<System.String>
View Source

ClientId

The Client ID of the credentials

Declaration
public Output<string> ClientId { get; }
Property Value
Type Description
Output<System.String>
View Source

Credentials

A JSON string containing the contents of a GCP credentials file. If this value is empty, Vault will try to use Application Default Credentials from the machine on which the Vault server is running.

Declaration
public Output<string> Credentials { get; }
Property Value
Type Description
Output<System.String>
View Source

Description

Declaration
public Output<string> Description { get; }
Property Value
Type Description
Output<System.String>
View Source

Path

Declaration
public Output<string> Path { get; }
Property Value
Type Description
Output<System.String>
View Source

PrivateKeyId

The ID of the private key from the credentials

Declaration
public Output<string> PrivateKeyId { get; }
Property Value
Type Description
Output<System.String>
View Source

ProjectId

The GCP Project ID

Declaration
public Output<string> ProjectId { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, AuthBackendState, CustomResourceOptions)

Get an existing AuthBackend resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static AuthBackend Get(string name, Input<string> id, AuthBackendState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

AuthBackendState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
AuthBackend
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.