cockroach.getClusterCert
Explore with Pulumi AI
TLS certificate for the specified CockroachDB cluster. Certificates for dedicated clusters should be written to $HOME/Library/CockroachCloud/certs/<cluster name>-ca.crt on MacOS or Linux, or $env:appdata\CockroachCloud\certs\<cluster name>-ca.crt on Windows.
Serverless clusters use the root PostgreSQL CA cert. If it isn’t already installed, the certificate can be appended to $HOME/.postgresql/root.crt on MacOS or Linux, or $env:appdata\postgresql\root.crt on Windows.
Using getClusterCert
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 getClusterCert(args: GetClusterCertArgs, opts?: InvokeOptions): Promise<GetClusterCertResult>
function getClusterCertOutput(args: GetClusterCertOutputArgs, opts?: InvokeOptions): Output<GetClusterCertResult>def get_cluster_cert(id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetClusterCertResult
def get_cluster_cert_output(id: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetClusterCertResult]func GetClusterCert(ctx *Context, args *GetClusterCertArgs, opts ...InvokeOption) (*GetClusterCertResult, error)
func GetClusterCertOutput(ctx *Context, args *GetClusterCertOutputArgs, opts ...InvokeOption) GetClusterCertResultOutput> Note: This function is named GetClusterCert in the Go SDK.
public static class GetClusterCert 
{
    public static Task<GetClusterCertResult> InvokeAsync(GetClusterCertArgs args, InvokeOptions? opts = null)
    public static Output<GetClusterCertResult> Invoke(GetClusterCertInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetClusterCertResult> getClusterCert(GetClusterCertArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: cockroach:index/getClusterCert:getClusterCert
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Id string
 - Cluster ID.
 
- Id string
 - Cluster ID.
 
- id String
 - Cluster ID.
 
- id string
 - Cluster ID.
 
- id str
 - Cluster ID.
 
- id String
 - Cluster ID.
 
getClusterCert Result
The following output properties are available:
Package Details
- Repository
 - cockroach pulumiverse/pulumi-cockroach
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
cockroachTerraform Provider.