1. Packages
  2. Packages
  3. OVH
  4. API Docs
  5. DbaasLogsEncryptionKey
Viewing docs for OVHCloud v2.14.0
published on Monday, Jun 15, 2026 by OVHcloud
ovh logo
Viewing docs for OVHCloud v2.14.0
published on Monday, Jun 15, 2026 by OVHcloud

    Creates a DBaaS Logs encryption key.

    Create DbaasLogsEncryptionKey Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DbaasLogsEncryptionKey(name: string, args: DbaasLogsEncryptionKeyArgs, opts?: CustomResourceOptions);
    @overload
    def DbaasLogsEncryptionKey(resource_name: str,
                               args: DbaasLogsEncryptionKeyArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def DbaasLogsEncryptionKey(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               content: Optional[str] = None,
                               fingerprint: Optional[str] = None,
                               service_name: Optional[str] = None,
                               title: Optional[str] = None)
    func NewDbaasLogsEncryptionKey(ctx *Context, name string, args DbaasLogsEncryptionKeyArgs, opts ...ResourceOption) (*DbaasLogsEncryptionKey, error)
    public DbaasLogsEncryptionKey(string name, DbaasLogsEncryptionKeyArgs args, CustomResourceOptions? opts = null)
    public DbaasLogsEncryptionKey(String name, DbaasLogsEncryptionKeyArgs args)
    public DbaasLogsEncryptionKey(String name, DbaasLogsEncryptionKeyArgs args, CustomResourceOptions options)
    
    type: ovh:DbaasLogsEncryptionKey
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "ovh_dbaaslogsencryptionkey" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args DbaasLogsEncryptionKeyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DbaasLogsEncryptionKeyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DbaasLogsEncryptionKeyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DbaasLogsEncryptionKeyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DbaasLogsEncryptionKeyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var dbaasLogsEncryptionKeyResource = new Ovh.DbaasLogsEncryptionKey("dbaasLogsEncryptionKeyResource", new()
    {
        Content = "string",
        Fingerprint = "string",
        ServiceName = "string",
        Title = "string",
    });
    
    example, err := ovh.NewDbaasLogsEncryptionKey(ctx, "dbaasLogsEncryptionKeyResource", &ovh.DbaasLogsEncryptionKeyArgs{
    	Content:     pulumi.String("string"),
    	Fingerprint: pulumi.String("string"),
    	ServiceName: pulumi.String("string"),
    	Title:       pulumi.String("string"),
    })
    
    resource "ovh_dbaaslogsencryptionkey" "dbaasLogsEncryptionKeyResource" {
      content      = "string"
      fingerprint  = "string"
      service_name = "string"
      title        = "string"
    }
    
    var dbaasLogsEncryptionKeyResource = new DbaasLogsEncryptionKey("dbaasLogsEncryptionKeyResource", DbaasLogsEncryptionKeyArgs.builder()
        .content("string")
        .fingerprint("string")
        .serviceName("string")
        .title("string")
        .build());
    
    dbaas_logs_encryption_key_resource = ovh.DbaasLogsEncryptionKey("dbaasLogsEncryptionKeyResource",
        content="string",
        fingerprint="string",
        service_name="string",
        title="string")
    
    const dbaasLogsEncryptionKeyResource = new ovh.DbaasLogsEncryptionKey("dbaasLogsEncryptionKeyResource", {
        content: "string",
        fingerprint: "string",
        serviceName: "string",
        title: "string",
    });
    
    type: ovh:DbaasLogsEncryptionKey
    properties:
        content: string
        fingerprint: string
        serviceName: string
        title: string
    

    DbaasLogsEncryptionKey Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The DbaasLogsEncryptionKey resource accepts the following input properties:

    Content string
    The PGP public key content
    Fingerprint string
    The PGP key fingerprint
    ServiceName string
    The LDP service name
    Title string
    The encryption key title
    Content string
    The PGP public key content
    Fingerprint string
    The PGP key fingerprint
    ServiceName string
    The LDP service name
    Title string
    The encryption key title
    content string
    The PGP public key content
    fingerprint string
    The PGP key fingerprint
    service_name string
    The LDP service name
    title string
    The encryption key title
    content String
    The PGP public key content
    fingerprint String
    The PGP key fingerprint
    serviceName String
    The LDP service name
    title String
    The encryption key title
    content string
    The PGP public key content
    fingerprint string
    The PGP key fingerprint
    serviceName string
    The LDP service name
    title string
    The encryption key title
    content str
    The PGP public key content
    fingerprint str
    The PGP key fingerprint
    service_name str
    The LDP service name
    title str
    The encryption key title
    content String
    The PGP public key content
    fingerprint String
    The PGP key fingerprint
    serviceName String
    The LDP service name
    title String
    The encryption key title

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DbaasLogsEncryptionKey resource produces the following output properties:

    CreatedAt string
    The encryption key creation date
    EncryptionKeyId string
    The encryption key ID
    Id string
    The provider-assigned unique ID for this managed resource.
    IsEditable bool
    Indicates if the key is editable
    CreatedAt string
    The encryption key creation date
    EncryptionKeyId string
    The encryption key ID
    Id string
    The provider-assigned unique ID for this managed resource.
    IsEditable bool
    Indicates if the key is editable
    created_at string
    The encryption key creation date
    encryption_key_id string
    The encryption key ID
    id string
    The provider-assigned unique ID for this managed resource.
    is_editable bool
    Indicates if the key is editable
    createdAt String
    The encryption key creation date
    encryptionKeyId String
    The encryption key ID
    id String
    The provider-assigned unique ID for this managed resource.
    isEditable Boolean
    Indicates if the key is editable
    createdAt string
    The encryption key creation date
    encryptionKeyId string
    The encryption key ID
    id string
    The provider-assigned unique ID for this managed resource.
    isEditable boolean
    Indicates if the key is editable
    created_at str
    The encryption key creation date
    encryption_key_id str
    The encryption key ID
    id str
    The provider-assigned unique ID for this managed resource.
    is_editable bool
    Indicates if the key is editable
    createdAt String
    The encryption key creation date
    encryptionKeyId String
    The encryption key ID
    id String
    The provider-assigned unique ID for this managed resource.
    isEditable Boolean
    Indicates if the key is editable

    Look up Existing DbaasLogsEncryptionKey Resource

    Get an existing DbaasLogsEncryptionKey resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DbaasLogsEncryptionKeyState, opts?: CustomResourceOptions): DbaasLogsEncryptionKey
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            content: Optional[str] = None,
            created_at: Optional[str] = None,
            encryption_key_id: Optional[str] = None,
            fingerprint: Optional[str] = None,
            is_editable: Optional[bool] = None,
            service_name: Optional[str] = None,
            title: Optional[str] = None) -> DbaasLogsEncryptionKey
    func GetDbaasLogsEncryptionKey(ctx *Context, name string, id IDInput, state *DbaasLogsEncryptionKeyState, opts ...ResourceOption) (*DbaasLogsEncryptionKey, error)
    public static DbaasLogsEncryptionKey Get(string name, Input<string> id, DbaasLogsEncryptionKeyState? state, CustomResourceOptions? opts = null)
    public static DbaasLogsEncryptionKey get(String name, Output<String> id, DbaasLogsEncryptionKeyState state, CustomResourceOptions options)
    resources:  _:    type: ovh:DbaasLogsEncryptionKey    get:      id: ${id}
    import {
      to = ovh_dbaaslogsencryptionkey.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Content string
    The PGP public key content
    CreatedAt string
    The encryption key creation date
    EncryptionKeyId string
    The encryption key ID
    Fingerprint string
    The PGP key fingerprint
    IsEditable bool
    Indicates if the key is editable
    ServiceName string
    The LDP service name
    Title string
    The encryption key title
    Content string
    The PGP public key content
    CreatedAt string
    The encryption key creation date
    EncryptionKeyId string
    The encryption key ID
    Fingerprint string
    The PGP key fingerprint
    IsEditable bool
    Indicates if the key is editable
    ServiceName string
    The LDP service name
    Title string
    The encryption key title
    content string
    The PGP public key content
    created_at string
    The encryption key creation date
    encryption_key_id string
    The encryption key ID
    fingerprint string
    The PGP key fingerprint
    is_editable bool
    Indicates if the key is editable
    service_name string
    The LDP service name
    title string
    The encryption key title
    content String
    The PGP public key content
    createdAt String
    The encryption key creation date
    encryptionKeyId String
    The encryption key ID
    fingerprint String
    The PGP key fingerprint
    isEditable Boolean
    Indicates if the key is editable
    serviceName String
    The LDP service name
    title String
    The encryption key title
    content string
    The PGP public key content
    createdAt string
    The encryption key creation date
    encryptionKeyId string
    The encryption key ID
    fingerprint string
    The PGP key fingerprint
    isEditable boolean
    Indicates if the key is editable
    serviceName string
    The LDP service name
    title string
    The encryption key title
    content str
    The PGP public key content
    created_at str
    The encryption key creation date
    encryption_key_id str
    The encryption key ID
    fingerprint str
    The PGP key fingerprint
    is_editable bool
    Indicates if the key is editable
    service_name str
    The LDP service name
    title str
    The encryption key title
    content String
    The PGP public key content
    createdAt String
    The encryption key creation date
    encryptionKeyId String
    The encryption key ID
    fingerprint String
    The PGP key fingerprint
    isEditable Boolean
    Indicates if the key is editable
    serviceName String
    The LDP service name
    title String
    The encryption key title

    Import

    OVHcloud DBaaS Logs Encryption Key can be imported using the service_name and encryption_key_id of the key, separated by “/” E.g.,

    bash

    $ pulumi import ovh:index/dbaasLogsEncryptionKey:DbaasLogsEncryptionKey key ldp-ra-XX/dc145bc2-eb01-4efe-a802-XXXXXX
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    ovh ovh/pulumi-ovh
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ovh Terraform Provider.
    ovh logo
    Viewing docs for OVHCloud v2.14.0
    published on Monday, Jun 15, 2026 by OVHcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial