import * as pulumi from "@pulumi/pulumi"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as minio from "@pulumi/minio"; * * const test = new minio.IamUser("test", { * name: "test", * forceDestroy: true, * tags: { * "tag-key": "tag-value", * }, * }); * const testServiceAccount = new minio.IamServiceAccount("test_service_account", {targetUser: test.name}); * export const minioUser = testServiceAccount.accessKey; * export const minioPassword = testServiceAccount.secretKey; * ``` */ export declare class IamServiceAccount extends pulumi.CustomResource { /** * Get an existing IamServiceAccount 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?: IamServiceAccountState, opts?: pulumi.CustomResourceOptions): IamServiceAccount; /** * Returns true if the given object is an instance of IamServiceAccount. 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 IamServiceAccount; readonly accessKey: pulumi.Output; /** * Disable service account */ readonly disableUser: pulumi.Output; /** * policy of service account */ readonly policy: pulumi.Output; readonly secretKey: pulumi.Output; readonly status: pulumi.Output; readonly targetUser: pulumi.Output; /** * rotate secret key */ readonly updateSecret: pulumi.Output; /** * Create a IamServiceAccount 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: IamServiceAccountArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering IamServiceAccount resources. */ export interface IamServiceAccountState { accessKey?: pulumi.Input; /** * Disable service account */ disableUser?: pulumi.Input; /** * policy of service account */ policy?: pulumi.Input; secretKey?: pulumi.Input; status?: pulumi.Input; targetUser?: pulumi.Input; /** * rotate secret key */ updateSecret?: pulumi.Input; } /** * The set of arguments for constructing a IamServiceAccount resource. */ export interface IamServiceAccountArgs { /** * Disable service account */ disableUser?: pulumi.Input; /** * policy of service account */ policy?: pulumi.Input; targetUser: pulumi.Input; /** * rotate secret key */ updateSecret?: pulumi.Input; } //# sourceMappingURL=iamServiceAccount.d.ts.map