supabase 1.5.1 published on Wednesday, Jan 15, 2025 by supabase
supabase.getApikeys
Explore with Pulumi AI
supabase 1.5.1 published on Wednesday, Jan 15, 2025 by supabase
API Keys data source
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as supabase from "@pulumi/supabase";
const production = supabase.getApikeys({
projectRef: "mayuaycdtijbctgqbycg",
});
import pulumi
import pulumi_supabase as supabase
production = supabase.get_apikeys(project_ref="mayuaycdtijbctgqbycg")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/supabase/supabase"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := supabase.GetApikeys(ctx, &supabase.GetApikeysArgs{
ProjectRef: "mayuaycdtijbctgqbycg",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Supabase = Pulumi.Supabase;
return await Deployment.RunAsync(() =>
{
var production = Supabase.GetApikeys.Invoke(new()
{
ProjectRef = "mayuaycdtijbctgqbycg",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.supabase.SupabaseFunctions;
import com.pulumi.supabase.inputs.GetApikeysArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var production = SupabaseFunctions.getApikeys(GetApikeysArgs.builder()
.projectRef("mayuaycdtijbctgqbycg")
.build());
}
}
variables:
production:
fn::invoke:
function: supabase:getApikeys
arguments:
projectRef: mayuaycdtijbctgqbycg
Using getApikeys
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getApikeys(args: GetApikeysArgs, opts?: InvokeOptions): Promise<GetApikeysResult>
function getApikeysOutput(args: GetApikeysOutputArgs, opts?: InvokeOptions): Output<GetApikeysResult>
def get_apikeys(project_ref: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetApikeysResult
def get_apikeys_output(project_ref: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetApikeysResult]
func GetApikeys(ctx *Context, args *GetApikeysArgs, opts ...InvokeOption) (*GetApikeysResult, error)
func GetApikeysOutput(ctx *Context, args *GetApikeysOutputArgs, opts ...InvokeOption) GetApikeysResultOutput
> Note: This function is named GetApikeys
in the Go SDK.
public static class GetApikeys
{
public static Task<GetApikeysResult> InvokeAsync(GetApikeysArgs args, InvokeOptions? opts = null)
public static Output<GetApikeysResult> Invoke(GetApikeysInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetApikeysResult> getApikeys(GetApikeysArgs args, InvokeOptions options)
public static Output<GetApikeysResult> getApikeys(GetApikeysArgs args, InvokeOptions options)
fn::invoke:
function: supabase:index/getApikeys:getApikeys
arguments:
# arguments dictionary
The following arguments are supported:
- Project
Ref string - Project reference ID
- Project
Ref string - Project reference ID
- project
Ref String - Project reference ID
- project
Ref string - Project reference ID
- project_
ref str - Project reference ID
- project
Ref String - Project reference ID
getApikeys Result
The following output properties are available:
- Anon
Key string - Anonymous API key for the project
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Ref string - Project reference ID
- Service
Role stringKey - Service role API key for the project
- Anon
Key string - Anonymous API key for the project
- Id string
- The provider-assigned unique ID for this managed resource.
- Project
Ref string - Project reference ID
- Service
Role stringKey - Service role API key for the project
- anon
Key String - Anonymous API key for the project
- id String
- The provider-assigned unique ID for this managed resource.
- project
Ref String - Project reference ID
- service
Role StringKey - Service role API key for the project
- anon
Key string - Anonymous API key for the project
- id string
- The provider-assigned unique ID for this managed resource.
- project
Ref string - Project reference ID
- service
Role stringKey - Service role API key for the project
- anon_
key str - Anonymous API key for the project
- id str
- The provider-assigned unique ID for this managed resource.
- project_
ref str - Project reference ID
- service_
role_ strkey - Service role API key for the project
- anon
Key String - Anonymous API key for the project
- id String
- The provider-assigned unique ID for this managed resource.
- project
Ref String - Project reference ID
- service
Role StringKey - Service role API key for the project
Package Details
- Repository
- supabase supabase/terraform-provider-supabase
- License
- Notes
- This Pulumi package is based on the
supabase
Terraform Provider.
supabase 1.5.1 published on Wednesday, Jan 15, 2025 by supabase