GetServiceUser

Example Usage

using Pulumi;
using Aiven = Pulumi.Aiven;

class MyStack : Stack
{
    public MyStack()
    {
        var myserviceuser = Output.Create(Aiven.GetServiceUser.InvokeAsync(new Aiven.GetServiceUserArgs
        {
            Project = data.Aiven_service.Myservice.Project,
            ServiceName = data.Aiven_service.Myservice.Service_name,
            Username = "<USERNAME>",
        }));
    }

}

Coming soon!

import pulumi
import pulumi_aiven as aiven

myserviceuser = aiven.get_service_user(project=data["aiven..Service"]["myservice"]["project"],
    service_name=data["aiven..Service"]["myservice"]["service_name"],
    username="<USERNAME>")
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";

const myserviceuser = aiven.getServiceUser({
    project: data.aiven_service.myservice.project,
    serviceName: data.aiven_service.myservice.service_name,
    username: "<USERNAME>",
});

Using GetServiceUser

function getServiceUser(args: GetServiceUserArgs, opts?: InvokeOptions): Promise<GetServiceUserResult>
function  get_service_user(access_cert=None, access_key=None, password=None, project=None, service_name=None, type=None, username=None, opts=None)
func LookupServiceUser(ctx *Context, args *LookupServiceUserArgs, opts ...InvokeOption) (*LookupServiceUserResult, error)

Note: This function is named LookupServiceUser in the Go SDK.

public static class GetServiceUser {
    public static Task<GetServiceUserResult> InvokeAsync(GetServiceUserArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Project string
ServiceName string
Username string
AccessCert string
AccessKey string
Password string
Type string
Project string
ServiceName string
Username string
AccessCert string
AccessKey string
Password string
Type string
project string
serviceName string
username string
accessCert string
accessKey string
password string
type string
project str
service_name str
username str
access_cert str
access_key str
password str
type str

GetServiceUser Result

The following output properties are available:

AccessCert string
AccessKey string
Id string

The provider-assigned unique ID for this managed resource.

Password string
Project string
ServiceName string
Type string
Username string
AccessCert string
AccessKey string
Id string

The provider-assigned unique ID for this managed resource.

Password string
Project string
ServiceName string
Type string
Username string
accessCert string
accessKey string
id string

The provider-assigned unique ID for this managed resource.

password string
project string
serviceName string
type string
username string
access_cert str
access_key str
id str

The provider-assigned unique ID for this managed resource.

password str
project str
service_name str
type str
username str

Package Details

Repository
https://github.com/pulumi/pulumi-aiven
License
Apache-2.0
Notes
This Pulumi package is based on the aiven Terraform Provider.