import * as pulumi from "@pulumi/pulumi"; /** * Manages additional request headers that appear in audited requests. * * > **Note** * Because of the way the [sys/config/auditing/request-headers API](https://www.vaultproject.io/api-docs/system/config-auditing) * is implemented in Vault, this resource will manage existing audited headers with * matching names without requiring import. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vault from "@pulumi/vault"; * * const xForwardedFor = new vault.AuditRequestHeader("x_forwarded_for", { * name: "X-Forwarded-For", * hmac: false, * }); * ``` */ export declare class AuditRequestHeader extends pulumi.CustomResource { /** * Get an existing AuditRequestHeader 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?: AuditRequestHeaderState, opts?: pulumi.CustomResourceOptions): AuditRequestHeader; /** * Returns true if the given object is an instance of AuditRequestHeader. 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 AuditRequestHeader; /** * Whether this header's value should be HMAC'd in the audit logs. */ readonly hmac: pulumi.Output; /** * The name of the request header to audit. */ readonly name: pulumi.Output; /** * Target namespace. (requires Enterprise) */ readonly namespace: pulumi.Output; /** * Create a AuditRequestHeader 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?: AuditRequestHeaderArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AuditRequestHeader resources. */ export interface AuditRequestHeaderState { /** * Whether this header's value should be HMAC'd in the audit logs. */ hmac?: pulumi.Input; /** * The name of the request header to audit. */ name?: pulumi.Input; /** * Target namespace. (requires Enterprise) */ namespace?: pulumi.Input; } /** * The set of arguments for constructing a AuditRequestHeader resource. */ export interface AuditRequestHeaderArgs { /** * Whether this header's value should be HMAC'd in the audit logs. */ hmac?: pulumi.Input; /** * The name of the request header to audit. */ name?: pulumi.Input; /** * Target namespace. (requires Enterprise) */ namespace?: pulumi.Input; }