Show / Hide Table of Contents

Class MfaDuo

Provides a resource to manage Duo MFA.

Note this feature is available only with Vault Enterprise.

Example Usage

using Pulumi;
using Vault = Pulumi.Vault;

class MyStack : Stack
{
public MyStack()
{
    var userpass = new Vault.AuthBackend("userpass", new Vault.AuthBackendArgs
    {
        Path = "userpass",
        Type = "userpass",
    });
    var myDuo = new Vault.MfaDuo("myDuo", new Vault.MfaDuoArgs
    {
        ApiHostname = "api-2b5c39f5.duosecurity.com",
        IntegrationKey = "BIACEUEAXI20BNWTEYXT",
        MountAccessor = userpass.Accessor,
        SecretKey = "8C7THtrIigh2rPZQMbguugt8IUftWhMRCOBzbuyz",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
MfaDuo
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
Assembly: Pulumi.Vault.dll
Syntax
public class MfaDuo : CustomResource

Constructors

View Source

MfaDuo(String, MfaDuoArgs, CustomResourceOptions)

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

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

The unique name of the resource

MfaDuoArgs 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

ApiHostname

API hostname for Duo.

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

IntegrationKey

Integration key for Duo.

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

MountAccessor

The mount to tie this method to for use in automatic mappings. The mapping will use the Name field of Aliases associated with this mount as the username in the mapping.

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

Name

Name of the MFA method.

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

PushInfo

Push information for Duo.

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

SecretKey

Secret key for Duo.

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

UsernameFormat

A format string for mapping Identity names to MFA method names. Values to substitute should be placed in {{}}.

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

Methods

View Source

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

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

Declaration
public static MfaDuo Get(string name, Input<string> id, MfaDuoState 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.

MfaDuoState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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