Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi
oci.Marketplace.getMarketplaceMetadataPublicKeys
Explore with Pulumi AI
This data source provides the list of Marketplace Metadata Public Keys in Oracle Cloud Infrastructure Marketplace service.
Get public certificates used in JWT signing, in JSON Web Key Sets format
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testMarketplaceMetadataPublicKeys = oci.Marketplace.getMarketplaceMetadataPublicKeys({
compartmentId: compartmentId,
});
import pulumi
import pulumi_oci as oci
test_marketplace_metadata_public_keys = oci.Marketplace.get_marketplace_metadata_public_keys(compartment_id=compartment_id)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/marketplace"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := marketplace.GetMarketplaceMetadataPublicKeys(ctx, &marketplace.GetMarketplaceMetadataPublicKeysArgs{
CompartmentId: pulumi.StringRef(compartmentId),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testMarketplaceMetadataPublicKeys = Oci.Marketplace.GetMarketplaceMetadataPublicKeys.Invoke(new()
{
CompartmentId = compartmentId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Marketplace.MarketplaceFunctions;
import com.pulumi.oci.Marketplace.inputs.GetMarketplaceMetadataPublicKeysArgs;
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 testMarketplaceMetadataPublicKeys = MarketplaceFunctions.getMarketplaceMetadataPublicKeys(GetMarketplaceMetadataPublicKeysArgs.builder()
.compartmentId(compartmentId)
.build());
}
}
variables:
testMarketplaceMetadataPublicKeys:
fn::invoke:
function: oci:Marketplace:getMarketplaceMetadataPublicKeys
arguments:
compartmentId: ${compartmentId}
Using getMarketplaceMetadataPublicKeys
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 getMarketplaceMetadataPublicKeys(args: GetMarketplaceMetadataPublicKeysArgs, opts?: InvokeOptions): Promise<GetMarketplaceMetadataPublicKeysResult>
function getMarketplaceMetadataPublicKeysOutput(args: GetMarketplaceMetadataPublicKeysOutputArgs, opts?: InvokeOptions): Output<GetMarketplaceMetadataPublicKeysResult>
def get_marketplace_metadata_public_keys(compartment_id: Optional[str] = None,
filters: Optional[Sequence[GetMarketplaceMetadataPublicKeysFilter]] = None,
opts: Optional[InvokeOptions] = None) -> GetMarketplaceMetadataPublicKeysResult
def get_marketplace_metadata_public_keys_output(compartment_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetMarketplaceMetadataPublicKeysFilterArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMarketplaceMetadataPublicKeysResult]
func GetMarketplaceMetadataPublicKeys(ctx *Context, args *GetMarketplaceMetadataPublicKeysArgs, opts ...InvokeOption) (*GetMarketplaceMetadataPublicKeysResult, error)
func GetMarketplaceMetadataPublicKeysOutput(ctx *Context, args *GetMarketplaceMetadataPublicKeysOutputArgs, opts ...InvokeOption) GetMarketplaceMetadataPublicKeysResultOutput
> Note: This function is named GetMarketplaceMetadataPublicKeys
in the Go SDK.
public static class GetMarketplaceMetadataPublicKeys
{
public static Task<GetMarketplaceMetadataPublicKeysResult> InvokeAsync(GetMarketplaceMetadataPublicKeysArgs args, InvokeOptions? opts = null)
public static Output<GetMarketplaceMetadataPublicKeysResult> Invoke(GetMarketplaceMetadataPublicKeysInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetMarketplaceMetadataPublicKeysResult> getMarketplaceMetadataPublicKeys(GetMarketplaceMetadataPublicKeysArgs args, InvokeOptions options)
public static Output<GetMarketplaceMetadataPublicKeysResult> getMarketplaceMetadataPublicKeys(GetMarketplaceMetadataPublicKeysArgs args, InvokeOptions options)
fn::invoke:
function: oci:Marketplace/getMarketplaceMetadataPublicKeys:getMarketplaceMetadataPublicKeys
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - The unique identifier for the compartment.
- Filters
List<Get
Marketplace Metadata Public Keys Filter>
- Compartment
Id string - The unique identifier for the compartment.
- Filters
[]Get
Marketplace Metadata Public Keys Filter
- compartment
Id String - The unique identifier for the compartment.
- filters
List<Get
Metadata Public Keys Filter>
- compartment
Id string - The unique identifier for the compartment.
- filters
Get
Marketplace Metadata Public Keys Filter[]
- compartment_
id str - The unique identifier for the compartment.
- filters
Sequence[Get
Marketplace Metadata Public Keys Filter]
- compartment
Id String - The unique identifier for the compartment.
- filters List<Property Map>
getMarketplaceMetadataPublicKeys Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Marketplace
Metadata List<GetPublic Keys Marketplace Metadata Public Keys Marketplace Metadata Public Key> - The list of marketplace_metadata_public_keys.
- Compartment
Id string - Filters
List<Get
Marketplace Metadata Public Keys Filter>
- Id string
- The provider-assigned unique ID for this managed resource.
- Marketplace
Metadata []GetPublic Keys Marketplace Metadata Public Keys Marketplace Metadata Public Key - The list of marketplace_metadata_public_keys.
- Compartment
Id string - Filters
[]Get
Marketplace Metadata Public Keys Filter
- id String
- The provider-assigned unique ID for this managed resource.
- marketplace
Metadata List<GetPublic Keys Metadata Public Keys Metadata Public Key> - The list of marketplace_metadata_public_keys.
- compartment
Id String - filters
List<Get
Metadata Public Keys Filter>
- id string
- The provider-assigned unique ID for this managed resource.
- marketplace
Metadata GetPublic Keys Marketplace Metadata Public Keys Marketplace Metadata Public Key[] - The list of marketplace_metadata_public_keys.
- compartment
Id string - filters
Get
Marketplace Metadata Public Keys Filter[]
- id str
- The provider-assigned unique ID for this managed resource.
- marketplace_
metadata_ Sequence[Getpublic_ keys Marketplace Metadata Public Keys Marketplace Metadata Public Key] - The list of marketplace_metadata_public_keys.
- compartment_
id str - filters
Sequence[Get
Marketplace Metadata Public Keys Filter]
- id String
- The provider-assigned unique ID for this managed resource.
- marketplace
Metadata List<Property Map>Public Keys - The list of marketplace_metadata_public_keys.
- compartment
Id String - filters List<Property Map>
Supporting Types
GetMarketplaceMetadataPublicKeysFilter
GetMarketplaceMetadataPublicKeysMarketplaceMetadataPublicKey
- Certificate
Chains List<string> - chain of certificates used to sign JWT
- Certificate
Thumbprint string - unique identifier of associated X509 certificate
- Exponent string
- base64 encoded exponent for public key
- Key
Algorithm string - algorithm for public key (i.e. RS256)
- Key
Id string - unique id that maps to public certificate, directs user which certificate to use to verfiy
- Key
Type string - key type (i.e. RSA)
- Key
Use string - how key is to be used
- Modulus string
- RSA public modulus
- Certificate
Chains []string - chain of certificates used to sign JWT
- Certificate
Thumbprint string - unique identifier of associated X509 certificate
- Exponent string
- base64 encoded exponent for public key
- Key
Algorithm string - algorithm for public key (i.e. RS256)
- Key
Id string - unique id that maps to public certificate, directs user which certificate to use to verfiy
- Key
Type string - key type (i.e. RSA)
- Key
Use string - how key is to be used
- Modulus string
- RSA public modulus
- certificate
Chains List<String> - chain of certificates used to sign JWT
- certificate
Thumbprint String - unique identifier of associated X509 certificate
- exponent String
- base64 encoded exponent for public key
- key
Algorithm String - algorithm for public key (i.e. RS256)
- key
Id String - unique id that maps to public certificate, directs user which certificate to use to verfiy
- key
Type String - key type (i.e. RSA)
- key
Use String - how key is to be used
- modulus String
- RSA public modulus
- certificate
Chains string[] - chain of certificates used to sign JWT
- certificate
Thumbprint string - unique identifier of associated X509 certificate
- exponent string
- base64 encoded exponent for public key
- key
Algorithm string - algorithm for public key (i.e. RS256)
- key
Id string - unique id that maps to public certificate, directs user which certificate to use to verfiy
- key
Type string - key type (i.e. RSA)
- key
Use string - how key is to be used
- modulus string
- RSA public modulus
- certificate_
chains Sequence[str] - chain of certificates used to sign JWT
- certificate_
thumbprint str - unique identifier of associated X509 certificate
- exponent str
- base64 encoded exponent for public key
- key_
algorithm str - algorithm for public key (i.e. RS256)
- key_
id str - unique id that maps to public certificate, directs user which certificate to use to verfiy
- key_
type str - key type (i.e. RSA)
- key_
use str - how key is to be used
- modulus str
- RSA public modulus
- certificate
Chains List<String> - chain of certificates used to sign JWT
- certificate
Thumbprint String - unique identifier of associated X509 certificate
- exponent String
- base64 encoded exponent for public key
- key
Algorithm String - algorithm for public key (i.e. RS256)
- key
Id String - unique id that maps to public certificate, directs user which certificate to use to verfiy
- key
Type String - key type (i.e. RSA)
- key
Use String - how key is to be used
- modulus String
- RSA public modulus
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.