Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi
cloudflare.getZeroTrustAccessShortLivedCertificate
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustAccessShortLivedCertificate = cloudflare.getZeroTrustAccessShortLivedCertificate({
appId: "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
accountId: "account_id",
zoneId: "zone_id",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_access_short_lived_certificate = cloudflare.get_zero_trust_access_short_lived_certificate(app_id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="account_id",
zone_id="zone_id")
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.LookupZeroTrustAccessShortLivedCertificate(ctx, &cloudflare.LookupZeroTrustAccessShortLivedCertificateArgs{
AppId: "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
AccountId: pulumi.StringRef("account_id"),
ZoneId: pulumi.StringRef("zone_id"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleZeroTrustAccessShortLivedCertificate = Cloudflare.GetZeroTrustAccessShortLivedCertificate.Invoke(new()
{
AppId = "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
AccountId = "account_id",
ZoneId = "zone_id",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetZeroTrustAccessShortLivedCertificateArgs;
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 exampleZeroTrustAccessShortLivedCertificate = CloudflareFunctions.getZeroTrustAccessShortLivedCertificate(GetZeroTrustAccessShortLivedCertificateArgs.builder()
.appId("f174e90a-fafe-4643-bbbc-4a0ed4fc8415")
.accountId("account_id")
.zoneId("zone_id")
.build());
}
}
variables:
exampleZeroTrustAccessShortLivedCertificate:
fn::invoke:
function: cloudflare:getZeroTrustAccessShortLivedCertificate
arguments:
appId: f174e90a-fafe-4643-bbbc-4a0ed4fc8415
accountId: account_id
zoneId: zone_id
Using getZeroTrustAccessShortLivedCertificate
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 getZeroTrustAccessShortLivedCertificate(args: GetZeroTrustAccessShortLivedCertificateArgs, opts?: InvokeOptions): Promise<GetZeroTrustAccessShortLivedCertificateResult>
function getZeroTrustAccessShortLivedCertificateOutput(args: GetZeroTrustAccessShortLivedCertificateOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustAccessShortLivedCertificateResult>
def get_zero_trust_access_short_lived_certificate(account_id: Optional[str] = None,
app_id: Optional[str] = None,
zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetZeroTrustAccessShortLivedCertificateResult
def get_zero_trust_access_short_lived_certificate_output(account_id: Optional[pulumi.Input[str]] = None,
app_id: Optional[pulumi.Input[str]] = None,
zone_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustAccessShortLivedCertificateResult]
func LookupZeroTrustAccessShortLivedCertificate(ctx *Context, args *LookupZeroTrustAccessShortLivedCertificateArgs, opts ...InvokeOption) (*LookupZeroTrustAccessShortLivedCertificateResult, error)
func LookupZeroTrustAccessShortLivedCertificateOutput(ctx *Context, args *LookupZeroTrustAccessShortLivedCertificateOutputArgs, opts ...InvokeOption) LookupZeroTrustAccessShortLivedCertificateResultOutput
> Note: This function is named LookupZeroTrustAccessShortLivedCertificate
in the Go SDK.
public static class GetZeroTrustAccessShortLivedCertificate
{
public static Task<GetZeroTrustAccessShortLivedCertificateResult> InvokeAsync(GetZeroTrustAccessShortLivedCertificateArgs args, InvokeOptions? opts = null)
public static Output<GetZeroTrustAccessShortLivedCertificateResult> Invoke(GetZeroTrustAccessShortLivedCertificateInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetZeroTrustAccessShortLivedCertificateResult> getZeroTrustAccessShortLivedCertificate(GetZeroTrustAccessShortLivedCertificateArgs args, InvokeOptions options)
public static Output<GetZeroTrustAccessShortLivedCertificateResult> getZeroTrustAccessShortLivedCertificate(GetZeroTrustAccessShortLivedCertificateArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getZeroTrustAccessShortLivedCertificate:getZeroTrustAccessShortLivedCertificate
arguments:
# arguments dictionary
The following arguments are supported:
- app_
id str - UUID.
- account_
id str - The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
- zone_
id str - The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
getZeroTrustAccessShortLivedCertificate Result
The following output properties are available:
- App
Id string - UUID.
- Aud string
- The Application Audience (AUD) tag. Identifies the application associated with the CA.
- Id string
- The ID of the CA.
- Public
Key string - The public key to add to your SSH server configuration.
- Account
Id string - The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
- Zone
Id string - The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
- App
Id string - UUID.
- Aud string
- The Application Audience (AUD) tag. Identifies the application associated with the CA.
- Id string
- The ID of the CA.
- Public
Key string - The public key to add to your SSH server configuration.
- Account
Id string - The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
- Zone
Id string - The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
- app
Id String - UUID.
- aud String
- The Application Audience (AUD) tag. Identifies the application associated with the CA.
- id String
- The ID of the CA.
- public
Key String - The public key to add to your SSH server configuration.
- account
Id String - The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
- zone
Id String - The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
- app
Id string - UUID.
- aud string
- The Application Audience (AUD) tag. Identifies the application associated with the CA.
- id string
- The ID of the CA.
- public
Key string - The public key to add to your SSH server configuration.
- account
Id string - The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
- zone
Id string - The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
- app_
id str - UUID.
- aud str
- The Application Audience (AUD) tag. Identifies the application associated with the CA.
- id str
- The ID of the CA.
- public_
key str - The public key to add to your SSH server configuration.
- account_
id str - The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
- zone_
id str - The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
- app
Id String - UUID.
- aud String
- The Application Audience (AUD) tag. Identifies the application associated with the CA.
- id String
- The ID of the CA.
- public
Key String - The public key to add to your SSH server configuration.
- account
Id String - The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
- zone
Id String - The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.