Show / Hide Table of Contents

Class ApplicationPassword

Manages a Password associated with an Application within Azure Active Directory.

NOTE: If you're authenticating using a Service Principal then it must have permissions to both Read and write all applications and Sign in and read user profile within the Windows Azure Active Directory API.

Example Usage

using Pulumi;
using AzureAD = Pulumi.AzureAD;

class MyStack : Stack
{
public MyStack()
{
    var exampleApplication = new AzureAD.Application("exampleApplication", new AzureAD.ApplicationArgs
    {
        AvailableToOtherTenants = false,
        Homepage = "http://homepage",
        IdentifierUris = 
        {
            "http://uri",
        },
        Oauth2AllowImplicitFlow = true,
        ReplyUrls = 
        {
            "http://replyurl",
        },
    });
    var exampleApplicationPassword = new AzureAD.ApplicationPassword("exampleApplicationPassword", new AzureAD.ApplicationPasswordArgs
    {
        ApplicationId = exampleApplication.Id,
        EndDate = "2099-01-01T01:02:03Z",
        Value = "VT=uSgbTanZhyz@%nL9Hpd+Tfay_MRV#",
    });
}

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

Constructors

View Source

ApplicationPassword(String, ApplicationPasswordArgs, CustomResourceOptions)

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

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

The unique name of the resource

ApplicationPasswordArgs 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

ApplicationId

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

ApplicationObjectId

The Object ID of the Application for which this password should be created. Changing this field forces a new resource to be created.

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

EndDate

The End Date which the Password is valid until, formatted as a RFC3339 date string (e.g. 2018-01-01T01:02:03Z). Changing this field forces a new resource to be created.

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

EndDateRelative

A relative duration for which the Password is valid until, for example 240h (10 days) or 2400h30m. Changing this field forces a new resource to be created.

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

KeyId

A GUID used to uniquely identify this Password. If not specified a GUID will be created. Changing this field forces a new resource to be created.

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

StartDate

The Start Date which the Password is valid from, formatted as a RFC3339 date string (e.g. 2018-01-01T01:02:03Z). If this isn't specified, the current date is used. Changing this field forces a new resource to be created.

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

Value

The Password for this Application .

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

Methods

View Source

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

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

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

ApplicationPasswordState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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