1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. DataSafe
  6. getCryptoAssessmentKeys
Viewing docs for Oracle Cloud Infrastructure v5.1.0
published on Friday, Sep 25, 2026 by Pulumi
oci logo oci logo
Viewing docs for Oracle Cloud Infrastructure v5.1.0
published on Friday, Sep 25, 2026 by Pulumi

    This data source provides the list of Crypto Assessment Keys in Oracle Cloud Infrastructure Data Safe service.

    Gets a paginated list of cryptographic keys across targets in a compartment. Use assessmentId to narrow results to one crypto assessment.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testCryptoAssessmentKeys = oci.datasafe.getCryptoAssessmentKeys({
        compartmentId: compartmentId,
        accessLevel: cryptoAssessmentKeyAccessLevel,
        assessmentId: testAssessment.id,
        assessmentType: cryptoAssessmentKeyAssessmentType,
        compartmentIdInSubtree: cryptoAssessmentKeyCompartmentIdInSubtree === "true",
        feature: cryptoAssessmentKeyFeature,
        keyId: testKey.id,
        keyManagerTypes: cryptoAssessmentKeyKeyManagerType,
        keyType: cryptoAssessmentKeyKeyType,
        targetId: testTarget.id,
        targetIds: cryptoAssessmentKeyTargetIds,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_crypto_assessment_keys = oci.datasafe.get_crypto_assessment_keys(compartment_id=compartment_id,
        access_level=crypto_assessment_key_access_level,
        assessment_id=test_assessment["id"],
        assessment_type=crypto_assessment_key_assessment_type,
        compartment_id_in_subtree=crypto_assessment_key_compartment_id_in_subtree == "true",
        feature=crypto_assessment_key_feature,
        key_id=test_key["id"],
        key_manager_types=crypto_assessment_key_key_manager_type,
        key_type=crypto_assessment_key_key_type,
        target_id=test_target["id"],
        target_ids=crypto_assessment_key_target_ids)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v5/go/oci/datasafe"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := datasafe.GetCryptoAssessmentKeys(ctx, &datasafe.GetCryptoAssessmentKeysArgs{
    			CompartmentId:          compartmentId,
    			AccessLevel:            pulumi.StringRef(cryptoAssessmentKeyAccessLevel),
    			AssessmentId:           pulumi.StringRef(testAssessment.Id),
    			AssessmentType:         pulumi.StringRef(cryptoAssessmentKeyAssessmentType),
    			CompartmentIdInSubtree: pulumi.BoolRef(cryptoAssessmentKeyCompartmentIdInSubtree),
    			Feature:                pulumi.StringRef(cryptoAssessmentKeyFeature),
    			KeyId:                  pulumi.StringRef(testKey.Id),
    			KeyManagerTypes:        pulumi.ToArray(cryptoAssessmentKeyKeyManagerType),
    			KeyType:                pulumi.StringRef(cryptoAssessmentKeyKeyType),
    			TargetId:               pulumi.StringRef(testTarget.Id),
    			TargetIds:              pulumi.ToArray(cryptoAssessmentKeyTargetIds),
    		}, 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 testCryptoAssessmentKeys = Oci.DataSafe.GetCryptoAssessmentKeys.Invoke(new()
        {
            CompartmentId = compartmentId,
            AccessLevel = cryptoAssessmentKeyAccessLevel,
            AssessmentId = testAssessment.Id,
            AssessmentType = cryptoAssessmentKeyAssessmentType,
            CompartmentIdInSubtree = cryptoAssessmentKeyCompartmentIdInSubtree,
            Feature = cryptoAssessmentKeyFeature,
            KeyId = testKey.Id,
            KeyManagerTypes = cryptoAssessmentKeyKeyManagerType,
            KeyType = cryptoAssessmentKeyKeyType,
            TargetId = testTarget.Id,
            TargetIds = cryptoAssessmentKeyTargetIds,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DataSafe.DataSafeFunctions;
    import com.pulumi.oci.DataSafe.inputs.GetCryptoAssessmentKeysArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 testCryptoAssessmentKeys = DataSafeFunctions.getCryptoAssessmentKeys(GetCryptoAssessmentKeysArgs.builder()
                .compartmentId(compartmentId)
                .accessLevel(cryptoAssessmentKeyAccessLevel)
                .assessmentId(testAssessment.id())
                .assessmentType(cryptoAssessmentKeyAssessmentType)
                .compartmentIdInSubtree(cryptoAssessmentKeyCompartmentIdInSubtree)
                .feature(cryptoAssessmentKeyFeature)
                .keyId(testKey.id())
                .keyManagerTypes(cryptoAssessmentKeyKeyManagerType)
                .keyType(cryptoAssessmentKeyKeyType)
                .targetId(testTarget.id())
                .targetIds(cryptoAssessmentKeyTargetIds)
                .build());
    
        }
    }
    
    variables:
      testCryptoAssessmentKeys:
        fn::invoke:
          function: oci:DataSafe:getCryptoAssessmentKeys
          arguments:
            compartmentId: ${compartmentId}
            accessLevel: ${cryptoAssessmentKeyAccessLevel}
            assessmentId: ${testAssessment.id}
            assessmentType: ${cryptoAssessmentKeyAssessmentType}
            compartmentIdInSubtree: ${cryptoAssessmentKeyCompartmentIdInSubtree}
            feature: ${cryptoAssessmentKeyFeature}
            keyId: ${testKey.id}
            keyManagerTypes: ${cryptoAssessmentKeyKeyManagerType}
            keyType: ${cryptoAssessmentKeyKeyType}
            targetId: ${testTarget.id}
            targetIds: ${cryptoAssessmentKeyTargetIds}
    
    pulumi {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    data "oci_datasafe_getcryptoassessmentkeys" "testCryptoAssessmentKeys" {
      compartment_id            = compartmentId
      access_level              = cryptoAssessmentKeyAccessLevel
      assessment_id             = testAssessment.id
      assessment_type           = cryptoAssessmentKeyAssessmentType
      compartment_id_in_subtree = cryptoAssessmentKeyCompartmentIdInSubtree
      feature                   = cryptoAssessmentKeyFeature
      key_id                    = testKey.id
      key_manager_types         = cryptoAssessmentKeyKeyManagerType
      key_type                  = cryptoAssessmentKeyKeyType
      target_id                 = testTarget.id
      target_ids                = cryptoAssessmentKeyTargetIds
    }
    

    Using getCryptoAssessmentKeys

    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 getCryptoAssessmentKeys(args: GetCryptoAssessmentKeysArgs, opts?: InvokeOptions): Promise<GetCryptoAssessmentKeysResult>
    function getCryptoAssessmentKeysOutput(args: GetCryptoAssessmentKeysOutputArgs, opts?: InvokeOutputOptions): Output<GetCryptoAssessmentKeysResult>
    def get_crypto_assessment_keys(access_level: Optional[str] = None,
                                   assessment_id: Optional[str] = None,
                                   assessment_type: Optional[str] = None,
                                   compartment_id: Optional[str] = None,
                                   compartment_id_in_subtree: Optional[bool] = None,
                                   feature: Optional[str] = None,
                                   filters: Optional[Sequence[GetCryptoAssessmentKeysFilter]] = None,
                                   key_id: Optional[str] = None,
                                   key_manager_types: Optional[Sequence[str]] = None,
                                   key_type: Optional[str] = None,
                                   target_id: Optional[str] = None,
                                   target_ids: Optional[Sequence[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetCryptoAssessmentKeysResult
    def get_crypto_assessment_keys_output(access_level: pulumi.Input[Optional[str]] = None,
                                   assessment_id: pulumi.Input[Optional[str]] = None,
                                   assessment_type: pulumi.Input[Optional[str]] = None,
                                   compartment_id: pulumi.Input[Optional[str]] = None,
                                   compartment_id_in_subtree: pulumi.Input[Optional[bool]] = None,
                                   feature: pulumi.Input[Optional[str]] = None,
                                   filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetCryptoAssessmentKeysFilterArgs]]]] = None,
                                   key_id: pulumi.Input[Optional[str]] = None,
                                   key_manager_types: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
                                   key_type: pulumi.Input[Optional[str]] = None,
                                   target_id: pulumi.Input[Optional[str]] = None,
                                   target_ids: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
                                   opts: Optional[InvokeOutputOptions] = None) -> Output[GetCryptoAssessmentKeysResult]
    func GetCryptoAssessmentKeys(ctx *Context, args *GetCryptoAssessmentKeysArgs, opts ...InvokeOption) (*GetCryptoAssessmentKeysResult, error)
    func GetCryptoAssessmentKeysOutput(ctx *Context, args *GetCryptoAssessmentKeysOutputArgs, opts ...InvokeOption) GetCryptoAssessmentKeysResultOutput

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

    public static class GetCryptoAssessmentKeys 
    {
        public static Task<GetCryptoAssessmentKeysResult> InvokeAsync(GetCryptoAssessmentKeysArgs args, InvokeOptions? opts = null)
        public static Output<GetCryptoAssessmentKeysResult> Invoke(GetCryptoAssessmentKeysInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetCryptoAssessmentKeysResult> Invoke(GetCryptoAssessmentKeysInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetCryptoAssessmentKeysResult> getCryptoAssessmentKeys(GetCryptoAssessmentKeysArgs args, InvokeOptions options)
    public static Output<GetCryptoAssessmentKeysResult> getCryptoAssessmentKeys(GetCryptoAssessmentKeysArgs args, InvokeOptions options)
    public static Output<GetCryptoAssessmentKeysResult> getCryptoAssessmentKeys(GetCryptoAssessmentKeysArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: oci:DataSafe/getCryptoAssessmentKeys:getCryptoAssessmentKeys
      arguments:
        # arguments dictionary
    data "oci_data_safe_get_crypto_assessment_keys" "name" {
        # arguments
    }

    The following arguments are supported:

    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    AccessLevel string
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    AssessmentId string
    A filter to return only resources associated with the specified crypto assessment OCID.
    AssessmentType string
    A filter to return targets from assessments of the specified type.
    CompartmentIdInSubtree bool
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    Feature string
    A filter to return only records for the specified feature.
    Filters List<GetCryptoAssessmentKeysFilter>
    KeyId string
    Filters key results to rows with an exact matching keyId.
    KeyManagerTypes List<string>
    Filters key results to rows whose primary or secondary keystore type matches any of the specified key manager types.
    KeyType string
    Filters key results to rows with the specified key type.
    TargetId string
    A filter to return only inventory rows associated with the specified target OCID.
    TargetIds List<string>
    A filter to return only resources associated with any of the specified target OCIDs.
    CompartmentId string
    A filter to return only resources that match the specified compartment OCID.
    AccessLevel string
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    AssessmentId string
    A filter to return only resources associated with the specified crypto assessment OCID.
    AssessmentType string
    A filter to return targets from assessments of the specified type.
    CompartmentIdInSubtree bool
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    Feature string
    A filter to return only records for the specified feature.
    Filters []GetCryptoAssessmentKeysFilter
    KeyId string
    Filters key results to rows with an exact matching keyId.
    KeyManagerTypes []string
    Filters key results to rows whose primary or secondary keystore type matches any of the specified key manager types.
    KeyType string
    Filters key results to rows with the specified key type.
    TargetId string
    A filter to return only inventory rows associated with the specified target OCID.
    TargetIds []string
    A filter to return only resources associated with any of the specified target OCIDs.
    compartment_id string
    A filter to return only resources that match the specified compartment OCID.
    access_level string
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    assessment_id string
    A filter to return only resources associated with the specified crypto assessment OCID.
    assessment_type string
    A filter to return targets from assessments of the specified type.
    compartment_id_in_subtree bool
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    feature string
    A filter to return only records for the specified feature.
    filters list(object)
    key_id string
    Filters key results to rows with an exact matching keyId.
    key_manager_types list(string)
    Filters key results to rows whose primary or secondary keystore type matches any of the specified key manager types.
    key_type string
    Filters key results to rows with the specified key type.
    target_id string
    A filter to return only inventory rows associated with the specified target OCID.
    target_ids list(string)
    A filter to return only resources associated with any of the specified target OCIDs.
    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    accessLevel String
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    assessmentId String
    A filter to return only resources associated with the specified crypto assessment OCID.
    assessmentType String
    A filter to return targets from assessments of the specified type.
    compartmentIdInSubtree Boolean
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    feature String
    A filter to return only records for the specified feature.
    filters List<GetCryptoAssessmentKeysFilter>
    keyId String
    Filters key results to rows with an exact matching keyId.
    keyManagerTypes List<String>
    Filters key results to rows whose primary or secondary keystore type matches any of the specified key manager types.
    keyType String
    Filters key results to rows with the specified key type.
    targetId String
    A filter to return only inventory rows associated with the specified target OCID.
    targetIds List<String>
    A filter to return only resources associated with any of the specified target OCIDs.
    compartmentId string
    A filter to return only resources that match the specified compartment OCID.
    accessLevel string
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    assessmentId string
    A filter to return only resources associated with the specified crypto assessment OCID.
    assessmentType string
    A filter to return targets from assessments of the specified type.
    compartmentIdInSubtree boolean
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    feature string
    A filter to return only records for the specified feature.
    filters GetCryptoAssessmentKeysFilter[]
    keyId string
    Filters key results to rows with an exact matching keyId.
    keyManagerTypes string[]
    Filters key results to rows whose primary or secondary keystore type matches any of the specified key manager types.
    keyType string
    Filters key results to rows with the specified key type.
    targetId string
    A filter to return only inventory rows associated with the specified target OCID.
    targetIds string[]
    A filter to return only resources associated with any of the specified target OCIDs.
    compartment_id str
    A filter to return only resources that match the specified compartment OCID.
    access_level str
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    assessment_id str
    A filter to return only resources associated with the specified crypto assessment OCID.
    assessment_type str
    A filter to return targets from assessments of the specified type.
    compartment_id_in_subtree bool
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    feature str
    A filter to return only records for the specified feature.
    filters Sequence[GetCryptoAssessmentKeysFilter]
    key_id str
    Filters key results to rows with an exact matching keyId.
    key_manager_types Sequence[str]
    Filters key results to rows whose primary or secondary keystore type matches any of the specified key manager types.
    key_type str
    Filters key results to rows with the specified key type.
    target_id str
    A filter to return only inventory rows associated with the specified target OCID.
    target_ids Sequence[str]
    A filter to return only resources associated with any of the specified target OCIDs.
    compartmentId String
    A filter to return only resources that match the specified compartment OCID.
    accessLevel String
    Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
    assessmentId String
    A filter to return only resources associated with the specified crypto assessment OCID.
    assessmentType String
    A filter to return targets from assessments of the specified type.
    compartmentIdInSubtree Boolean
    Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
    feature String
    A filter to return only records for the specified feature.
    filters List<Property Map>
    keyId String
    Filters key results to rows with an exact matching keyId.
    keyManagerTypes List<String>
    Filters key results to rows whose primary or secondary keystore type matches any of the specified key manager types.
    keyType String
    Filters key results to rows with the specified key type.
    targetId String
    A filter to return only inventory rows associated with the specified target OCID.
    targetIds List<String>
    A filter to return only resources associated with any of the specified target OCIDs.

    getCryptoAssessmentKeys Result

    The following output properties are available:

    CompartmentId string
    CryptoAssessmentKeyCollections List<GetCryptoAssessmentKeysCryptoAssessmentKeyCollection>
    The list of crypto_assessment_key_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    AccessLevel string
    AssessmentId string
    OCID of the crypto assessment that discovered the key.
    AssessmentType string
    CompartmentIdInSubtree bool
    Feature string
    Crypto feature for which the key is observed.
    Filters List<GetCryptoAssessmentKeysFilter>
    KeyId string
    Identifier of the cryptographic key.
    KeyManagerTypes List<string>
    KeyType string
    Type of cryptographic key observed for the assessment.
    TargetId string
    OCID of the target database associated with the key.
    TargetIds List<string>
    CompartmentId string
    CryptoAssessmentKeyCollections []GetCryptoAssessmentKeysCryptoAssessmentKeyCollection
    The list of crypto_assessment_key_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    AccessLevel string
    AssessmentId string
    OCID of the crypto assessment that discovered the key.
    AssessmentType string
    CompartmentIdInSubtree bool
    Feature string
    Crypto feature for which the key is observed.
    Filters []GetCryptoAssessmentKeysFilter
    KeyId string
    Identifier of the cryptographic key.
    KeyManagerTypes []string
    KeyType string
    Type of cryptographic key observed for the assessment.
    TargetId string
    OCID of the target database associated with the key.
    TargetIds []string
    compartment_id string
    crypto_assessment_key_collections list(object)
    The list of crypto_assessment_key_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    access_level string
    assessment_id string
    OCID of the crypto assessment that discovered the key.
    assessment_type string
    compartment_id_in_subtree bool
    feature string
    Crypto feature for which the key is observed.
    filters list(object)
    key_id string
    Identifier of the cryptographic key.
    key_manager_types list(string)
    key_type string
    Type of cryptographic key observed for the assessment.
    target_id string
    OCID of the target database associated with the key.
    target_ids list(string)
    compartmentId String
    cryptoAssessmentKeyCollections List<GetCryptoAssessmentKeysCryptoAssessmentKeyCollection>
    The list of crypto_assessment_key_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    accessLevel String
    assessmentId String
    OCID of the crypto assessment that discovered the key.
    assessmentType String
    compartmentIdInSubtree Boolean
    feature String
    Crypto feature for which the key is observed.
    filters List<GetCryptoAssessmentKeysFilter>
    keyId String
    Identifier of the cryptographic key.
    keyManagerTypes List<String>
    keyType String
    Type of cryptographic key observed for the assessment.
    targetId String
    OCID of the target database associated with the key.
    targetIds List<String>
    compartmentId string
    cryptoAssessmentKeyCollections GetCryptoAssessmentKeysCryptoAssessmentKeyCollection[]
    The list of crypto_assessment_key_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    accessLevel string
    assessmentId string
    OCID of the crypto assessment that discovered the key.
    assessmentType string
    compartmentIdInSubtree boolean
    feature string
    Crypto feature for which the key is observed.
    filters GetCryptoAssessmentKeysFilter[]
    keyId string
    Identifier of the cryptographic key.
    keyManagerTypes string[]
    keyType string
    Type of cryptographic key observed for the assessment.
    targetId string
    OCID of the target database associated with the key.
    targetIds string[]
    compartment_id str
    crypto_assessment_key_collections Sequence[GetCryptoAssessmentKeysCryptoAssessmentKeyCollection]
    The list of crypto_assessment_key_collection.
    id str
    The provider-assigned unique ID for this managed resource.
    access_level str
    assessment_id str
    OCID of the crypto assessment that discovered the key.
    assessment_type str
    compartment_id_in_subtree bool
    feature str
    Crypto feature for which the key is observed.
    filters Sequence[GetCryptoAssessmentKeysFilter]
    key_id str
    Identifier of the cryptographic key.
    key_manager_types Sequence[str]
    key_type str
    Type of cryptographic key observed for the assessment.
    target_id str
    OCID of the target database associated with the key.
    target_ids Sequence[str]
    compartmentId String
    cryptoAssessmentKeyCollections List<Property Map>
    The list of crypto_assessment_key_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    accessLevel String
    assessmentId String
    OCID of the crypto assessment that discovered the key.
    assessmentType String
    compartmentIdInSubtree Boolean
    feature String
    Crypto feature for which the key is observed.
    filters List<Property Map>
    keyId String
    Identifier of the cryptographic key.
    keyManagerTypes List<String>
    keyType String
    Type of cryptographic key observed for the assessment.
    targetId String
    OCID of the target database associated with the key.
    targetIds List<String>

    Supporting Types

    GetCryptoAssessmentKeysCryptoAssessmentKeyCollection

    Items List<GetCryptoAssessmentKeysCryptoAssessmentKeyCollectionItem>
    Cryptographic key summaries for the specified crypto assessment.
    Items []GetCryptoAssessmentKeysCryptoAssessmentKeyCollectionItem
    Cryptographic key summaries for the specified crypto assessment.
    items list(object)
    Cryptographic key summaries for the specified crypto assessment.
    items List<GetCryptoAssessmentKeysCryptoAssessmentKeyCollectionItem>
    Cryptographic key summaries for the specified crypto assessment.
    items GetCryptoAssessmentKeysCryptoAssessmentKeyCollectionItem[]
    Cryptographic key summaries for the specified crypto assessment.
    items Sequence[GetCryptoAssessmentKeysCryptoAssessmentKeyCollectionItem]
    Cryptographic key summaries for the specified crypto assessment.
    items List<Property Map>
    Cryptographic key summaries for the specified crypto assessment.

    GetCryptoAssessmentKeysCryptoAssessmentKeyCollectionItem

    Age string
    Age of the key in whole days, calculated from timeCreated using the current UTC date.
    Algorithm string
    Cryptographic algorithm used by the key.
    AssessmentId string
    A filter to return only resources associated with the specified crypto assessment OCID.
    Feature string
    A filter to return only records for the specified feature.
    KeyCache string
    Key cache setting observed for the key.
    KeyId string
    Filters key results to rows with an exact matching keyId.
    KeyType string
    Filters key results to rows with the specified key type.
    KeystoreType string
    Primary keystore type observed for the key.
    SecondaryKeystoreType string
    Secondary keystore type observed for the key, if configured.
    Status string
    Current status of the cryptographic key as observed on the target.
    TargetId string
    A filter to return only inventory rows associated with the specified target OCID.
    TimeCreated string
    Key creation time in RFC3339 format.
    TimeLastAssessed string
    The date and time the associated crypto assessment was last assessed, in RFC3339 format.
    TimeLastRotation string
    Most recent key rotation time in RFC3339 format.
    WalletLocation string
    Wallet location observed for the key.
    Age string
    Age of the key in whole days, calculated from timeCreated using the current UTC date.
    Algorithm string
    Cryptographic algorithm used by the key.
    AssessmentId string
    A filter to return only resources associated with the specified crypto assessment OCID.
    Feature string
    A filter to return only records for the specified feature.
    KeyCache string
    Key cache setting observed for the key.
    KeyId string
    Filters key results to rows with an exact matching keyId.
    KeyType string
    Filters key results to rows with the specified key type.
    KeystoreType string
    Primary keystore type observed for the key.
    SecondaryKeystoreType string
    Secondary keystore type observed for the key, if configured.
    Status string
    Current status of the cryptographic key as observed on the target.
    TargetId string
    A filter to return only inventory rows associated with the specified target OCID.
    TimeCreated string
    Key creation time in RFC3339 format.
    TimeLastAssessed string
    The date and time the associated crypto assessment was last assessed, in RFC3339 format.
    TimeLastRotation string
    Most recent key rotation time in RFC3339 format.
    WalletLocation string
    Wallet location observed for the key.
    age string
    Age of the key in whole days, calculated from timeCreated using the current UTC date.
    algorithm string
    Cryptographic algorithm used by the key.
    assessment_id string
    A filter to return only resources associated with the specified crypto assessment OCID.
    feature string
    A filter to return only records for the specified feature.
    key_cache string
    Key cache setting observed for the key.
    key_id string
    Filters key results to rows with an exact matching keyId.
    key_type string
    Filters key results to rows with the specified key type.
    keystore_type string
    Primary keystore type observed for the key.
    secondary_keystore_type string
    Secondary keystore type observed for the key, if configured.
    status string
    Current status of the cryptographic key as observed on the target.
    target_id string
    A filter to return only inventory rows associated with the specified target OCID.
    time_created string
    Key creation time in RFC3339 format.
    time_last_assessed string
    The date and time the associated crypto assessment was last assessed, in RFC3339 format.
    time_last_rotation string
    Most recent key rotation time in RFC3339 format.
    wallet_location string
    Wallet location observed for the key.
    age String
    Age of the key in whole days, calculated from timeCreated using the current UTC date.
    algorithm String
    Cryptographic algorithm used by the key.
    assessmentId String
    A filter to return only resources associated with the specified crypto assessment OCID.
    feature String
    A filter to return only records for the specified feature.
    keyCache String
    Key cache setting observed for the key.
    keyId String
    Filters key results to rows with an exact matching keyId.
    keyType String
    Filters key results to rows with the specified key type.
    keystoreType String
    Primary keystore type observed for the key.
    secondaryKeystoreType String
    Secondary keystore type observed for the key, if configured.
    status String
    Current status of the cryptographic key as observed on the target.
    targetId String
    A filter to return only inventory rows associated with the specified target OCID.
    timeCreated String
    Key creation time in RFC3339 format.
    timeLastAssessed String
    The date and time the associated crypto assessment was last assessed, in RFC3339 format.
    timeLastRotation String
    Most recent key rotation time in RFC3339 format.
    walletLocation String
    Wallet location observed for the key.
    age string
    Age of the key in whole days, calculated from timeCreated using the current UTC date.
    algorithm string
    Cryptographic algorithm used by the key.
    assessmentId string
    A filter to return only resources associated with the specified crypto assessment OCID.
    feature string
    A filter to return only records for the specified feature.
    keyCache string
    Key cache setting observed for the key.
    keyId string
    Filters key results to rows with an exact matching keyId.
    keyType string
    Filters key results to rows with the specified key type.
    keystoreType string
    Primary keystore type observed for the key.
    secondaryKeystoreType string
    Secondary keystore type observed for the key, if configured.
    status string
    Current status of the cryptographic key as observed on the target.
    targetId string
    A filter to return only inventory rows associated with the specified target OCID.
    timeCreated string
    Key creation time in RFC3339 format.
    timeLastAssessed string
    The date and time the associated crypto assessment was last assessed, in RFC3339 format.
    timeLastRotation string
    Most recent key rotation time in RFC3339 format.
    walletLocation string
    Wallet location observed for the key.
    age str
    Age of the key in whole days, calculated from timeCreated using the current UTC date.
    algorithm str
    Cryptographic algorithm used by the key.
    assessment_id str
    A filter to return only resources associated with the specified crypto assessment OCID.
    feature str
    A filter to return only records for the specified feature.
    key_cache str
    Key cache setting observed for the key.
    key_id str
    Filters key results to rows with an exact matching keyId.
    key_type str
    Filters key results to rows with the specified key type.
    keystore_type str
    Primary keystore type observed for the key.
    secondary_keystore_type str
    Secondary keystore type observed for the key, if configured.
    status str
    Current status of the cryptographic key as observed on the target.
    target_id str
    A filter to return only inventory rows associated with the specified target OCID.
    time_created str
    Key creation time in RFC3339 format.
    time_last_assessed str
    The date and time the associated crypto assessment was last assessed, in RFC3339 format.
    time_last_rotation str
    Most recent key rotation time in RFC3339 format.
    wallet_location str
    Wallet location observed for the key.
    age String
    Age of the key in whole days, calculated from timeCreated using the current UTC date.
    algorithm String
    Cryptographic algorithm used by the key.
    assessmentId String
    A filter to return only resources associated with the specified crypto assessment OCID.
    feature String
    A filter to return only records for the specified feature.
    keyCache String
    Key cache setting observed for the key.
    keyId String
    Filters key results to rows with an exact matching keyId.
    keyType String
    Filters key results to rows with the specified key type.
    keystoreType String
    Primary keystore type observed for the key.
    secondaryKeystoreType String
    Secondary keystore type observed for the key, if configured.
    status String
    Current status of the cryptographic key as observed on the target.
    targetId String
    A filter to return only inventory rows associated with the specified target OCID.
    timeCreated String
    Key creation time in RFC3339 format.
    timeLastAssessed String
    The date and time the associated crypto assessment was last assessed, in RFC3339 format.
    timeLastRotation String
    Most recent key rotation time in RFC3339 format.
    walletLocation String
    Wallet location observed for the key.

    GetCryptoAssessmentKeysFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name string
    values list(string)
    regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo oci logo
    Viewing docs for Oracle Cloud Infrastructure v5.1.0
    published on Friday, Sep 25, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial