1. Packages
  2. Harness Provider
  3. API Docs
  4. platform
  5. getInfraProviderSigningKeys
Viewing docs for Harness v0.11.6
published on Thursday, Mar 12, 2026 by Pulumi
harness logo
Viewing docs for Harness v0.11.6
published on Thursday, Mar 12, 2026 by Pulumi

    Data source for listing GPG Signing Keys from the IaCM Provider Registry.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as harness from "@pulumi/harness";
    
    const all = harness.platform.getInfraProviderSigningKeys({});
    export const allSigningKeys = all.then(all => all.signingKeys);
    const hashicorpKey = all.then(all => .filter(key => key.keyId == "51852D87348FFC4C").map(key => (key)));
    
    import pulumi
    import pulumi_harness as harness
    
    all = harness.platform.get_infra_provider_signing_keys()
    pulumi.export("allSigningKeys", all.signing_keys)
    hashicorp_key = [key for key in all.signing_keys if key.key_id == "51852D87348FFC4C"]
    
    Example coming soon!
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Harness = Pulumi.Harness;
    
    return await Deployment.RunAsync(() => 
    {
        var all = Harness.Platform.GetInfraProviderSigningKeys.Invoke();
    
        var hashicorpKey = .Where(key => key.KeyId == "51852D87348FFC4C").Select(key => 
        {
            return key;
        }).ToList();
    
        return new Dictionary<string, object?>
        {
            ["allSigningKeys"] = all.Apply(getInfraProviderSigningKeysResult => getInfraProviderSigningKeysResult.SigningKeys),
        };
    });
    
    Example coming soon!
    
    Example coming soon!
    

    Using getInfraProviderSigningKeys

    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 getInfraProviderSigningKeys(opts?: InvokeOptions): Promise<GetInfraProviderSigningKeysResult>
    function getInfraProviderSigningKeysOutput(opts?: InvokeOptions): Output<GetInfraProviderSigningKeysResult>
    def get_infra_provider_signing_keys(opts: Optional[InvokeOptions] = None) -> GetInfraProviderSigningKeysResult
    def get_infra_provider_signing_keys_output(opts: Optional[InvokeOptions] = None) -> Output[GetInfraProviderSigningKeysResult]
    func GetInfraProviderSigningKeys(ctx *Context, opts ...InvokeOption) (*GetInfraProviderSigningKeysResult, error)
    func GetInfraProviderSigningKeysOutput(ctx *Context, opts ...InvokeOption) GetInfraProviderSigningKeysResultOutput

    > Note: This function is named GetInfraProviderSigningKeys in the Go SDK.

    public static class GetInfraProviderSigningKeys 
    {
        public static Task<GetInfraProviderSigningKeysResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetInfraProviderSigningKeysResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetInfraProviderSigningKeysResult> getInfraProviderSigningKeys(InvokeOptions options)
    public static Output<GetInfraProviderSigningKeysResult> getInfraProviderSigningKeys(InvokeOptions options)
    
    fn::invoke:
      function: harness:platform/getInfraProviderSigningKeys:getInfraProviderSigningKeys
      arguments:
        # arguments dictionary

    getInfraProviderSigningKeys Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    SigningKeys List<GetInfraProviderSigningKeysSigningKey>
    List of signing keys.
    Id string
    The provider-assigned unique ID for this managed resource.
    SigningKeys []GetInfraProviderSigningKeysSigningKey
    List of signing keys.
    id String
    The provider-assigned unique ID for this managed resource.
    signingKeys List<GetInfraProviderSigningKeysSigningKey>
    List of signing keys.
    id string
    The provider-assigned unique ID for this managed resource.
    signingKeys GetInfraProviderSigningKeysSigningKey[]
    List of signing keys.
    id str
    The provider-assigned unique ID for this managed resource.
    signing_keys Sequence[GetInfraProviderSigningKeysSigningKey]
    List of signing keys.
    id String
    The provider-assigned unique ID for this managed resource.
    signingKeys List<Property Map>
    List of signing keys.

    Supporting Types

    GetInfraProviderSigningKeysSigningKey

    AsciiArmor string
    ASCII-armored GPG public key.
    CreatedAt string
    Creation timestamp.
    Id string
    Unique identifier of the signing key.
    KeyId string
    GPG key ID.
    KeyName string
    GPG key name.
    UpdatedAt string
    Last updated timestamp.
    User string
    User who uploaded the key.
    AsciiArmor string
    ASCII-armored GPG public key.
    CreatedAt string
    Creation timestamp.
    Id string
    Unique identifier of the signing key.
    KeyId string
    GPG key ID.
    KeyName string
    GPG key name.
    UpdatedAt string
    Last updated timestamp.
    User string
    User who uploaded the key.
    asciiArmor String
    ASCII-armored GPG public key.
    createdAt String
    Creation timestamp.
    id String
    Unique identifier of the signing key.
    keyId String
    GPG key ID.
    keyName String
    GPG key name.
    updatedAt String
    Last updated timestamp.
    user String
    User who uploaded the key.
    asciiArmor string
    ASCII-armored GPG public key.
    createdAt string
    Creation timestamp.
    id string
    Unique identifier of the signing key.
    keyId string
    GPG key ID.
    keyName string
    GPG key name.
    updatedAt string
    Last updated timestamp.
    user string
    User who uploaded the key.
    ascii_armor str
    ASCII-armored GPG public key.
    created_at str
    Creation timestamp.
    id str
    Unique identifier of the signing key.
    key_id str
    GPG key ID.
    key_name str
    GPG key name.
    updated_at str
    Last updated timestamp.
    user str
    User who uploaded the key.
    asciiArmor String
    ASCII-armored GPG public key.
    createdAt String
    Creation timestamp.
    id String
    Unique identifier of the signing key.
    keyId String
    GPG key ID.
    keyName String
    GPG key name.
    updatedAt String
    Last updated timestamp.
    user String
    User who uploaded the key.

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Viewing docs for Harness v0.11.6
    published on Thursday, Mar 12, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.