azuread.ApplicationPassword
Import
This resource does not support importing.
Create ApplicationPassword Resource
new ApplicationPassword(name: string, args: ApplicationPasswordArgs, opts?: CustomResourceOptions);
@overload
def ApplicationPassword(resource_name: str,
opts: Optional[ResourceOptions] = None,
application_object_id: Optional[str] = None,
display_name: Optional[str] = None,
end_date: Optional[str] = None,
end_date_relative: Optional[str] = None,
rotate_when_changed: Optional[Mapping[str, str]] = None,
start_date: Optional[str] = None)
@overload
def ApplicationPassword(resource_name: str,
args: ApplicationPasswordArgs,
opts: Optional[ResourceOptions] = None)
func NewApplicationPassword(ctx *Context, name string, args ApplicationPasswordArgs, opts ...ResourceOption) (*ApplicationPassword, error)
public ApplicationPassword(string name, ApplicationPasswordArgs args, CustomResourceOptions? opts = null)
public ApplicationPassword(String name, ApplicationPasswordArgs args)
public ApplicationPassword(String name, ApplicationPasswordArgs args, CustomResourceOptions options)
type: azuread:ApplicationPassword
properties: # The arguments to resource properties.
options: # 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.
- resource_name str
- The unique name of the resource.
- args ApplicationPasswordArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control 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.
- name String
- The unique name of the resource.
- args ApplicationPasswordArgs
- The arguments to resource properties.
- options 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 Architecture and Concepts docs.
Inputs
The ApplicationPassword resource accepts the following input properties:
- 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.
- Display
Name string A display name for the password. Changing this field forces a new resource to be created.
- End
Date string The end date until which the password is valid, formatted as an 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.- Rotate
When Dictionary<string, string>Changed A map of arbitrary key/value pairs that will force recreation of the password when they change, enabling password rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created.
- Start
Date string The start date from which the password is valid, formatted as an 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.
- 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.
- Display
Name string A display name for the password. Changing this field forces a new resource to be created.
- End
Date string The end date until which the password is valid, formatted as an 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.- Rotate
When map[string]stringChanged A map of arbitrary key/value pairs that will force recreation of the password when they change, enabling password rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created.
- Start
Date string The start date from which the password is valid, formatted as an 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.
- 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.
- display
Name String A display name for the password. Changing this field forces a new resource to be created.
- end
Date String The end date until which the password is valid, formatted as an 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.- rotate
When Map<String,String>Changed A map of arbitrary key/value pairs that will force recreation of the password when they change, enabling password rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created.
- start
Date String The start date from which the password is valid, formatted as an 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.
- 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.
- display
Name string A display name for the password. Changing this field forces a new resource to be created.
- end
Date string The end date until which the password is valid, formatted as an 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.- rotate
When {[key: string]: string}Changed A map of arbitrary key/value pairs that will force recreation of the password when they change, enabling password rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created.
- start
Date string The start date from which the password is valid, formatted as an 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.
- 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.
- display_
name str A display name for the password. Changing this field forces a new resource to be created.
- end_
date str The end date until which the password is valid, formatted as an 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.- rotate_
when_ Mapping[str, str]changed A map of arbitrary key/value pairs that will force recreation of the password when they change, enabling password rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created.
- start_
date str The start date from which the password is valid, formatted as an 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.
- 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.
- display
Name String A display name for the password. Changing this field forces a new resource to be created.
- end
Date String The end date until which the password is valid, formatted as an 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.- rotate
When Map<String>Changed A map of arbitrary key/value pairs that will force recreation of the password when they change, enabling password rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created.
- start
Date String The start date from which the password is valid, formatted as an 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 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): ApplicationPassword
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
application_object_id: Optional[str] = None,
display_name: Optional[str] = None,
end_date: Optional[str] = None,
end_date_relative: Optional[str] = None,
key_id: Optional[str] = None,
rotate_when_changed: Optional[Mapping[str, str]] = None,
start_date: Optional[str] = None,
value: Optional[str] = None) -> ApplicationPassword
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)
public static ApplicationPassword get(String name, Output<String> id, ApplicationPasswordState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- 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.
- 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.
- Display
Name string A display name for the password. Changing this field forces a new resource to be created.
- End
Date string The end date until which the password is valid, formatted as an 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 UUID used to uniquely identify this password credential.
- Rotate
When Dictionary<string, string>Changed A map of arbitrary key/value pairs that will force recreation of the password when they change, enabling password rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created.
- Start
Date string The start date from which the password is valid, formatted as an 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, which is generated by Azure Active Directory.
- 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.
- Display
Name string A display name for the password. Changing this field forces a new resource to be created.
- End
Date string The end date until which the password is valid, formatted as an 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 UUID used to uniquely identify this password credential.
- Rotate
When map[string]stringChanged A map of arbitrary key/value pairs that will force recreation of the password when they change, enabling password rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created.
- Start
Date string The start date from which the password is valid, formatted as an 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, which is generated by Azure Active Directory.
- 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.
- display
Name String A display name for the password. Changing this field forces a new resource to be created.
- end
Date String The end date until which the password is valid, formatted as an 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 UUID used to uniquely identify this password credential.
- rotate
When Map<String,String>Changed A map of arbitrary key/value pairs that will force recreation of the password when they change, enabling password rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created.
- start
Date String The start date from which the password is valid, formatted as an 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, which is generated by Azure Active Directory.
- 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.
- display
Name string A display name for the password. Changing this field forces a new resource to be created.
- end
Date string The end date until which the password is valid, formatted as an 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 UUID used to uniquely identify this password credential.
- rotate
When {[key: string]: string}Changed A map of arbitrary key/value pairs that will force recreation of the password when they change, enabling password rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created.
- start
Date string The start date from which the password is valid, formatted as an 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, which is generated by Azure Active Directory.
- 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.
- display_
name str A display name for the password. Changing this field forces a new resource to be created.
- end_
date str The end date until which the password is valid, formatted as an 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 UUID used to uniquely identify this password credential.
- rotate_
when_ Mapping[str, str]changed A map of arbitrary key/value pairs that will force recreation of the password when they change, enabling password rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created.
- start_
date str The start date from which the password is valid, formatted as an 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, which is generated by Azure Active Directory.
- 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.
- display
Name String A display name for the password. Changing this field forces a new resource to be created.
- end
Date String The end date until which the password is valid, formatted as an 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 UUID used to uniquely identify this password credential.
- rotate
When Map<String>Changed A map of arbitrary key/value pairs that will force recreation of the password when they change, enabling password rotation based on external conditions such as a rotating timestamp. Changing this forces a new resource to be created.
- start
Date String The start date from which the password is valid, formatted as an 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, which is generated by Azure Active Directory.
Package Details
- Repository
- Azure Active Directory (Azure AD) pulumi/pulumi-azuread
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
azuread
Terraform Provider.