1. Packages
  2. Cosign Provider
  3. API Docs
  4. getVerify
cosign 0.0.27 published on Thursday, May 1, 2025 by chainguard-dev

cosign.getVerify

Explore with Pulumi AI

cosign logo
cosign 0.0.27 published on Thursday, May 1, 2025 by chainguard-dev

    This verifies the provided image against the specified policy.

    Using getVerify

    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 getVerify(args: GetVerifyArgs, opts?: InvokeOptions): Promise<GetVerifyResult>
    function getVerifyOutput(args: GetVerifyOutputArgs, opts?: InvokeOptions): Output<GetVerifyResult>
    def get_verify(image: Optional[str] = None,
                   policy: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetVerifyResult
    def get_verify_output(image: Optional[pulumi.Input[str]] = None,
                   policy: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetVerifyResult]
    func GetVerify(ctx *Context, args *GetVerifyArgs, opts ...InvokeOption) (*GetVerifyResult, error)
    func GetVerifyOutput(ctx *Context, args *GetVerifyOutputArgs, opts ...InvokeOption) GetVerifyResultOutput

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

    public static class GetVerify 
    {
        public static Task<GetVerifyResult> InvokeAsync(GetVerifyArgs args, InvokeOptions? opts = null)
        public static Output<GetVerifyResult> Invoke(GetVerifyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetVerifyResult> getVerify(GetVerifyArgs args, InvokeOptions options)
    public static Output<GetVerifyResult> getVerify(GetVerifyArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cosign:index/getVerify:getVerify
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Image string
    The image tag or digest of the container image to verify.
    Policy string
    The sigstore policy-controller policy to verify the image against.
    Image string
    The image tag or digest of the container image to verify.
    Policy string
    The sigstore policy-controller policy to verify the image against.
    image String
    The image tag or digest of the container image to verify.
    policy String
    The sigstore policy-controller policy to verify the image against.
    image string
    The image tag or digest of the container image to verify.
    policy string
    The sigstore policy-controller policy to verify the image against.
    image str
    The image tag or digest of the container image to verify.
    policy str
    The sigstore policy-controller policy to verify the image against.
    image String
    The image tag or digest of the container image to verify.
    policy String
    The sigstore policy-controller policy to verify the image against.

    getVerify Result

    The following output properties are available:

    Id string
    This contains the digest of the image that was verified against the provided policy.
    Image string
    The image tag or digest of the container image to verify.
    Policy string
    The sigstore policy-controller policy to verify the image against.
    VerifiedRef string
    This contains the digest of the image that was verified against the provided policy.
    Id string
    This contains the digest of the image that was verified against the provided policy.
    Image string
    The image tag or digest of the container image to verify.
    Policy string
    The sigstore policy-controller policy to verify the image against.
    VerifiedRef string
    This contains the digest of the image that was verified against the provided policy.
    id String
    This contains the digest of the image that was verified against the provided policy.
    image String
    The image tag or digest of the container image to verify.
    policy String
    The sigstore policy-controller policy to verify the image against.
    verifiedRef String
    This contains the digest of the image that was verified against the provided policy.
    id string
    This contains the digest of the image that was verified against the provided policy.
    image string
    The image tag or digest of the container image to verify.
    policy string
    The sigstore policy-controller policy to verify the image against.
    verifiedRef string
    This contains the digest of the image that was verified against the provided policy.
    id str
    This contains the digest of the image that was verified against the provided policy.
    image str
    The image tag or digest of the container image to verify.
    policy str
    The sigstore policy-controller policy to verify the image against.
    verified_ref str
    This contains the digest of the image that was verified against the provided policy.
    id String
    This contains the digest of the image that was verified against the provided policy.
    image String
    The image tag or digest of the container image to verify.
    policy String
    The sigstore policy-controller policy to verify the image against.
    verifiedRef String
    This contains the digest of the image that was verified against the provided policy.

    Package Details

    Repository
    cosign chainguard-dev/terraform-provider-cosign
    License
    Notes
    This Pulumi package is based on the cosign Terraform Provider.
    cosign logo
    cosign 0.0.27 published on Thursday, May 1, 2025 by chainguard-dev