@pulumi/pulumiservice
Version:
[](https://slack.pulumi.com) [](https://www.npmjs.com/package/@pulumi/pulumiservice) [. Returns the updated configuration object. Returns 400 if the environment reference is invalid or not found.
*/
export declare class Config extends pulumi.CustomResource {
/**
* Get an existing Config 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 opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Config;
/**
* Returns true if the given object is an instance of Config. 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 Config;
/**
* The KMS-encrypted ciphertext for the data key used for secrets encryption. Only used for cloud-based secrets providers.
*/
readonly encryptedKey: pulumi.Output<string | undefined>;
/**
* The stack's base64-encoded encryption salt. Only used for passphrase-based secrets providers.
*/
readonly encryptionSalt: pulumi.Output<string | undefined>;
/**
* Reference to ESC environment to use as stack configuration.
*/
readonly environment: pulumi.Output<string>;
/**
* The stack's secrets provider.
*/
readonly secretsProvider: pulumi.Output<string | undefined>;
/**
* Create a Config 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: ConfigArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a Config resource.
*/
export interface ConfigArgs {
/**
* The KMS-encrypted ciphertext for the data key used for secrets encryption. Only used for cloud-based secrets providers.
*/
encryptedKey?: pulumi.Input<string | undefined>;
/**
* The stack's base64-encoded encryption salt. Only used for passphrase-based secrets providers.
*/
encryptionSalt?: pulumi.Input<string | undefined>;
/**
* Reference to ESC environment to use as stack configuration.
*/
environment: pulumi.Input<string>;
/**
* The organization name
*/
orgName: pulumi.Input<string>;
/**
* The project name
*/
projectName: pulumi.Input<string>;
/**
* The stack's secrets provider.
*/
secretsProvider?: pulumi.Input<string | undefined>;
/**
* The stack name
*/
stackName: pulumi.Input<string>;
}
//# sourceMappingURL=config.d.ts.map