import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Gets information about an Aiven for Apache Kafka® service user. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = aiven.getKafkaUser({ * project: "my-project", * serviceName: "my-kafka", * username: "testuser", * }); * ``` */ export declare function getKafkaUser(args: GetKafkaUserArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getKafkaUser. */ export interface GetKafkaUserArgs { /** * Project name. */ project: string; /** * Service name. */ serviceName: string; timeouts?: inputs.GetKafkaUserTimeouts; /** * Account username. */ username: string; } /** * A collection of values returned by getKafkaUser. */ export interface GetKafkaUserResult { /** * Access certificate for TLS client authentication. */ readonly accessCert: string; /** * Access key for TLS client authentication. */ readonly accessKey: string; /** * Resource ID composed as: `project/service_name/username`. */ readonly id: string; /** * The password of the service user (auto-generated if not provided). The field conflicts with `passwordWo`. */ readonly password: string; /** * The password hashing algorithm used for this PostgreSQL user, derived from the stored password hash. 'unknown' is reported when the hash is missing or uses an unrecognised format. The possible values are `md5`, `scram-sha-256` and `unknown`. */ readonly passwordEncryptionType: string; /** * Project name. */ readonly project: string; /** * Service name. */ readonly serviceName: string; readonly timeouts?: outputs.GetKafkaUserTimeouts; /** * Account type. */ readonly type: string; /** * Account username. */ readonly username: string; } /** * Gets information about an Aiven for Apache Kafka® service user. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = aiven.getKafkaUser({ * project: "my-project", * serviceName: "my-kafka", * username: "testuser", * }); * ``` */ export declare function getKafkaUserOutput(args: GetKafkaUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getKafkaUser. */ export interface GetKafkaUserOutputArgs { /** * Project name. */ project: pulumi.Input; /** * Service name. */ serviceName: pulumi.Input; timeouts?: pulumi.Input; /** * Account username. */ username: pulumi.Input; } //# sourceMappingURL=getKafkaUser.d.ts.map