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 applicationsandSign in and read user profilewithin theWindows Azure Active DirectoryAPI.
Create a ApplicationPassword Resource
new ApplicationPassword(name: string, args: ApplicationPasswordArgs, opts?: CustomResourceOptions);def ApplicationPassword(resource_name, opts=None, application_id=None, application_object_id=None, description=None, end_date=None, end_date_relative=None, key_id=None, start_date=None, value=None, __props__=None);func NewApplicationPassword(ctx *Context, name string, args ApplicationPasswordArgs, opts ...ResourceOption) (*ApplicationPassword, error)public ApplicationPassword(string name, ApplicationPasswordArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args ApplicationPasswordArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ApplicationPasswordArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApplicationPasswordArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
ApplicationPassword Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The ApplicationPassword resource accepts the following input properties:
- Value string
The Password for this Application.
- Application
Id string - Application
Object stringId The Object ID of the Application for which this password should be created. Changing this field forces a new resource to be created.
- Description string
A description for the Password.
- End
Date string 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.- End
Date stringRelative A relative duration for which the Password is valid until, for example
240h(10 days) or2400h30m. Changing this field forces a new resource to be created.- Key
Id string 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.
- Start
Date string 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.
- Value string
The Password for this Application.
- Application
Id string - Application
Object stringId The Object ID of the Application for which this password should be created. Changing this field forces a new resource to be created.
- Description string
A description for the Password.
- End
Date string 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.- End
Date stringRelative A relative duration for which the Password is valid until, for example
240h(10 days) or2400h30m. Changing this field forces a new resource to be created.- Key
Id string 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.
- Start
Date string 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.
- value string
The Password for this Application.
- application
Id string - application
Object stringId The Object ID of the Application for which this password should be created. Changing this field forces a new resource to be created.
- description string
A description for the Password.
- end
Date string 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.- end
Date stringRelative A relative duration for which the Password is valid until, for example
240h(10 days) or2400h30m. Changing this field forces a new resource to be created.- key
Id string 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.
- start
Date string 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.
- value str
The Password for this Application.
- application_
id str - application_
object_ strid The Object ID of the Application for which this password should be created. Changing this field forces a new resource to be created.
- description str
A description for the Password.
- end_
date str 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.- end_
date_ strrelative A relative duration for which the Password is valid until, for example
240h(10 days) or2400h30m. Changing this field forces a new resource to be created.- key_
id str 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.
- start_
date str 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the ApplicationPassword resource produces the following output properties:
Look up an Existing ApplicationPassword Resource
Get an existing ApplicationPassword resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ApplicationPasswordState, opts?: CustomResourceOptions): ApplicationPasswordstatic get(resource_name, id, opts=None, application_id=None, application_object_id=None, description=None, end_date=None, end_date_relative=None, key_id=None, start_date=None, value=None, __props__=None);func GetApplicationPassword(ctx *Context, name string, id IDInput, state *ApplicationPasswordState, opts ...ResourceOption) (*ApplicationPassword, error)public static ApplicationPassword Get(string name, Input<string> id, ApplicationPasswordState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Application
Id string - Application
Object stringId The Object ID of the Application for which this password should be created. Changing this field forces a new resource to be created.
- Description string
A description for the Password.
- End
Date string 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.- End
Date stringRelative A relative duration for which the Password is valid until, for example
240h(10 days) or2400h30m. Changing this field forces a new resource to be created.- Key
Id string 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.
- Start
Date string 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.- Value string
The Password for this Application.
- Application
Id string - Application
Object stringId The Object ID of the Application for which this password should be created. Changing this field forces a new resource to be created.
- Description string
A description for the Password.
- End
Date string 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.- End
Date stringRelative A relative duration for which the Password is valid until, for example
240h(10 days) or2400h30m. Changing this field forces a new resource to be created.- Key
Id string 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.
- Start
Date string 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.- Value string
The Password for this Application.
- application
Id string - application
Object stringId The Object ID of the Application for which this password should be created. Changing this field forces a new resource to be created.
- description string
A description for the Password.
- end
Date string 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.- end
Date stringRelative A relative duration for which the Password is valid until, for example
240h(10 days) or2400h30m. Changing this field forces a new resource to be created.- key
Id string 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.
- start
Date string 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.- value string
The Password for this Application.
- application_
id str - application_
object_ strid The Object ID of the Application for which this password should be created. Changing this field forces a new resource to be created.
- description str
A description for the Password.
- end_
date str 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.- end_
date_ strrelative A relative duration for which the Password is valid until, for example
240h(10 days) or2400h30m. Changing this field forces a new resource to be created.- key_
id str 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.
- start_
date str 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.- value str
The Password for this Application.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azuread
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azureadTerraform Provider.