import * as pulumi from "@pulumi/pulumi"; /** * Provides a Datadog Application Key resource. This can be used to create and manage Datadog Application Keys. Import is not supported for this resource. Securely store your application keys using a secret management system or use this resource to create and manage new application keys. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as datadog from "@pulumi/datadog"; * * // See the permissions available for scoped keys at https://docs.datadoghq.com/account_management/rbac/permissions/#permissions-list * // Create an unrestricted Application Key * // This key inherits all permissions of the user that owns the key * const unrestrictedKey = new datadog.ApplicationKey("unrestricted_key", {name: "Unrestricted Application Key"}); * // Create a scoped Application Key for monitor management * const monitorManagementKey = new datadog.ApplicationKey("monitor_management_key", { * name: "Monitor Management Key", * scopes: [ * "monitors_read", * "monitors_write", * ], * }); * ``` */ export declare class ApplicationKey extends pulumi.CustomResource { /** * Get an existing ApplicationKey resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ApplicationKeyState, opts?: pulumi.CustomResourceOptions): ApplicationKey; /** * Returns true if the given object is an instance of ApplicationKey. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ApplicationKey; /** * The value of the Application Key. */ readonly key: pulumi.Output; /** * Name for Application Key. */ readonly name: pulumi.Output; /** * Authorization scopes for the Application Key. Application Keys configured with no scopes have full access. */ readonly scopes: pulumi.Output; /** * Create a ApplicationKey resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ApplicationKeyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ApplicationKey resources. */ export interface ApplicationKeyState { /** * The value of the Application Key. */ key?: pulumi.Input; /** * Name for Application Key. */ name?: pulumi.Input; /** * Authorization scopes for the Application Key. Application Keys configured with no scopes have full access. */ scopes?: pulumi.Input[]>; } /** * The set of arguments for constructing a ApplicationKey resource. */ export interface ApplicationKeyArgs { /** * Name for Application Key. */ name: pulumi.Input; /** * Authorization scopes for the Application Key. Application Keys configured with no scopes have full access. */ scopes?: pulumi.Input[]>; }