Viewing docs for Harness v0.11.6
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
Viewing docs for Harness v0.11.6
published on Thursday, Mar 12, 2026 by Pulumi
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 dictionarygetInfraProviderSigningKeys Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Signing
Keys List<GetInfra Provider Signing Keys Signing Key> - List of signing keys.
- Id string
- The provider-assigned unique ID for this managed resource.
- Signing
Keys []GetInfra Provider Signing Keys Signing Key - List of signing keys.
- id String
- The provider-assigned unique ID for this managed resource.
- signing
Keys List<GetInfra Provider Signing Keys Signing Key> - List of signing keys.
- id string
- The provider-assigned unique ID for this managed resource.
- signing
Keys GetInfra Provider Signing Keys Signing Key[] - List of signing keys.
- id str
- The provider-assigned unique ID for this managed resource.
- signing_
keys Sequence[GetInfra Provider Signing Keys Signing Key] - List of signing keys.
- id String
- The provider-assigned unique ID for this managed resource.
- signing
Keys List<Property Map> - List of signing keys.
Supporting Types
GetInfraProviderSigningKeysSigningKey
- 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.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harnessTerraform Provider.
Viewing docs for Harness v0.11.6
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
