1. Packages
  2. Packages
  3. Ionoscloud
  4. API Docs
  5. objectstoragemanagement
  6. Accesskey
Viewing docs for IonosCloud v0.3.0
published on Wednesday, Apr 15, 2026 by ionos-cloud
ionoscloud logo
Viewing docs for IonosCloud v0.3.0
published on Wednesday, Apr 15, 2026 by ionos-cloud

    Manages an Object Storage Accesskey on IonosCloud.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ionoscloud from "@ionos-cloud/sdk-pulumi";
    
    const example = new ionoscloud.objectstoragemanagement.Accesskey("example", {description: "my description"});
    
    import pulumi
    import pulumi_ionoscloud as ionoscloud
    
    example = ionoscloud.objectstoragemanagement.Accesskey("example", description="my description")
    
    package main
    
    import (
    	"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/objectstoragemanagement"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := objectstoragemanagement.NewAccesskey(ctx, "example", &objectstoragemanagement.AccesskeyArgs{
    			Description: pulumi.String("my description"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ionoscloud = Ionoscloud.Pulumi.Ionoscloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Ionoscloud.Objectstoragemanagement.Accesskey("example", new()
        {
            Description = "my description",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.ionoscloud.pulumi.ionoscloud.objectstoragemanagement.Accesskey;
    import com.ionoscloud.pulumi.ionoscloud.objectstoragemanagement.AccesskeyArgs;
    import java.util.List;
    import java.util.ArrayList;
    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) {
            var example = new Accesskey("example", AccesskeyArgs.builder()
                .description("my description")
                .build());
    
        }
    }
    
    resources:
      example:
        type: ionoscloud:objectstoragemanagement:Accesskey
        properties:
          description: my description
    
    Example coming soon!
    

    Create Accesskey Resource

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

    Constructor syntax

    new Accesskey(name: string, args?: AccesskeyArgs, opts?: CustomResourceOptions);
    @overload
    def Accesskey(resource_name: str,
                  args: Optional[AccesskeyArgs] = None,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def Accesskey(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  description: Optional[str] = None,
                  timeouts: Optional[AccesskeyTimeoutsArgs] = None)
    func NewAccesskey(ctx *Context, name string, args *AccesskeyArgs, opts ...ResourceOption) (*Accesskey, error)
    public Accesskey(string name, AccesskeyArgs? args = null, CustomResourceOptions? opts = null)
    public Accesskey(String name, AccesskeyArgs args)
    public Accesskey(String name, AccesskeyArgs args, CustomResourceOptions options)
    
    type: ionoscloud:objectstoragemanagement:Accesskey
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "ionoscloud_objectstoragemanagement_accesskey" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AccesskeyArgs
    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 AccesskeyArgs
    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 AccesskeyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AccesskeyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AccesskeyArgs
    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 accesskeyResource = new Ionoscloud.Objectstoragemanagement.Accesskey("accesskeyResource", new()
    {
        Description = "string",
        Timeouts = new Ionoscloud.Objectstoragemanagement.Inputs.AccesskeyTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Read = "string",
        },
    });
    
    example, err := objectstoragemanagement.NewAccesskey(ctx, "accesskeyResource", &objectstoragemanagement.AccesskeyArgs{
    	Description: pulumi.String("string"),
    	Timeouts: &objectstoragemanagement.AccesskeyTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Read:   pulumi.String("string"),
    	},
    })
    
    resource "ionoscloud_objectstoragemanagement_accesskey" "accesskeyResource" {
      description = "string"
      timeouts = {
        create = "string"
        delete = "string"
        read   = "string"
      }
    }
    
    var accesskeyResource = new Accesskey("accesskeyResource", AccesskeyArgs.builder()
        .description("string")
        .timeouts(AccesskeyTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .read("string")
            .build())
        .build());
    
    accesskey_resource = ionoscloud.objectstoragemanagement.Accesskey("accesskeyResource",
        description="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "read": "string",
        })
    
    const accesskeyResource = new ionoscloud.objectstoragemanagement.Accesskey("accesskeyResource", {
        description: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            read: "string",
        },
    });
    
    type: ionoscloud:objectstoragemanagement:Accesskey
    properties:
        description: string
        timeouts:
            create: string
            delete: string
            read: string
    

    Accesskey 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 Accesskey resource accepts the following input properties:

    Description string
    [string] Description of the Access key.
    Timeouts Ionoscloud.AccesskeyTimeouts
    Timeouts for this resource.
    Description string
    [string] Description of the Access key.
    Timeouts AccesskeyTimeoutsArgs
    Timeouts for this resource.
    description string
    [string] Description of the Access key.
    timeouts object
    Timeouts for this resource.
    description String
    [string] Description of the Access key.
    timeouts AccesskeyTimeouts
    Timeouts for this resource.
    description string
    [string] Description of the Access key.
    timeouts AccesskeyTimeouts
    Timeouts for this resource.
    description str
    [string] Description of the Access key.
    timeouts AccesskeyTimeoutsArgs
    Timeouts for this resource.
    description String
    [string] Description of the Access key.
    timeouts Property Map
    Timeouts for this resource.

    Outputs

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

    AccessKey string
    Access key metadata is a string of 92 characters.
    CanonicalUserId string
    The canonical user ID which is valid for user-owned buckets.
    ContractUserId string
    The contract user ID which is valid for contract-owned buckets
    Id string
    The provider-assigned unique ID for this managed resource.
    Secretkey string
    The secret key of the Access key.
    AccessKey string
    Access key metadata is a string of 92 characters.
    CanonicalUserId string
    The canonical user ID which is valid for user-owned buckets.
    ContractUserId string
    The contract user ID which is valid for contract-owned buckets
    Id string
    The provider-assigned unique ID for this managed resource.
    Secretkey string
    The secret key of the Access key.
    access_key string
    Access key metadata is a string of 92 characters.
    canonical_user_id string
    The canonical user ID which is valid for user-owned buckets.
    contract_user_id string
    The contract user ID which is valid for contract-owned buckets
    id string
    The provider-assigned unique ID for this managed resource.
    secretkey string
    The secret key of the Access key.
    accessKey String
    Access key metadata is a string of 92 characters.
    canonicalUserId String
    The canonical user ID which is valid for user-owned buckets.
    contractUserId String
    The contract user ID which is valid for contract-owned buckets
    id String
    The provider-assigned unique ID for this managed resource.
    secretkey String
    The secret key of the Access key.
    accessKey string
    Access key metadata is a string of 92 characters.
    canonicalUserId string
    The canonical user ID which is valid for user-owned buckets.
    contractUserId string
    The contract user ID which is valid for contract-owned buckets
    id string
    The provider-assigned unique ID for this managed resource.
    secretkey string
    The secret key of the Access key.
    access_key str
    Access key metadata is a string of 92 characters.
    canonical_user_id str
    The canonical user ID which is valid for user-owned buckets.
    contract_user_id str
    The contract user ID which is valid for contract-owned buckets
    id str
    The provider-assigned unique ID for this managed resource.
    secretkey str
    The secret key of the Access key.
    accessKey String
    Access key metadata is a string of 92 characters.
    canonicalUserId String
    The canonical user ID which is valid for user-owned buckets.
    contractUserId String
    The contract user ID which is valid for contract-owned buckets
    id String
    The provider-assigned unique ID for this managed resource.
    secretkey String
    The secret key of the Access key.

    Look up Existing Accesskey Resource

    Get an existing Accesskey 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?: AccesskeyState, opts?: CustomResourceOptions): Accesskey
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_key: Optional[str] = None,
            canonical_user_id: Optional[str] = None,
            contract_user_id: Optional[str] = None,
            description: Optional[str] = None,
            secretkey: Optional[str] = None,
            timeouts: Optional[AccesskeyTimeoutsArgs] = None) -> Accesskey
    func GetAccesskey(ctx *Context, name string, id IDInput, state *AccesskeyState, opts ...ResourceOption) (*Accesskey, error)
    public static Accesskey Get(string name, Input<string> id, AccesskeyState? state, CustomResourceOptions? opts = null)
    public static Accesskey get(String name, Output<String> id, AccesskeyState state, CustomResourceOptions options)
    resources:  _:    type: ionoscloud:objectstoragemanagement:Accesskey    get:      id: ${id}
    import {
      to = ionoscloud_objectstoragemanagement_accesskey.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:
    AccessKey string
    Access key metadata is a string of 92 characters.
    CanonicalUserId string
    The canonical user ID which is valid for user-owned buckets.
    ContractUserId string
    The contract user ID which is valid for contract-owned buckets
    Description string
    [string] Description of the Access key.
    Secretkey string
    The secret key of the Access key.
    Timeouts Ionoscloud.AccesskeyTimeouts
    Timeouts for this resource.
    AccessKey string
    Access key metadata is a string of 92 characters.
    CanonicalUserId string
    The canonical user ID which is valid for user-owned buckets.
    ContractUserId string
    The contract user ID which is valid for contract-owned buckets
    Description string
    [string] Description of the Access key.
    Secretkey string
    The secret key of the Access key.
    Timeouts AccesskeyTimeoutsArgs
    Timeouts for this resource.
    access_key string
    Access key metadata is a string of 92 characters.
    canonical_user_id string
    The canonical user ID which is valid for user-owned buckets.
    contract_user_id string
    The contract user ID which is valid for contract-owned buckets
    description string
    [string] Description of the Access key.
    secretkey string
    The secret key of the Access key.
    timeouts object
    Timeouts for this resource.
    accessKey String
    Access key metadata is a string of 92 characters.
    canonicalUserId String
    The canonical user ID which is valid for user-owned buckets.
    contractUserId String
    The contract user ID which is valid for contract-owned buckets
    description String
    [string] Description of the Access key.
    secretkey String
    The secret key of the Access key.
    timeouts AccesskeyTimeouts
    Timeouts for this resource.
    accessKey string
    Access key metadata is a string of 92 characters.
    canonicalUserId string
    The canonical user ID which is valid for user-owned buckets.
    contractUserId string
    The contract user ID which is valid for contract-owned buckets
    description string
    [string] Description of the Access key.
    secretkey string
    The secret key of the Access key.
    timeouts AccesskeyTimeouts
    Timeouts for this resource.
    access_key str
    Access key metadata is a string of 92 characters.
    canonical_user_id str
    The canonical user ID which is valid for user-owned buckets.
    contract_user_id str
    The contract user ID which is valid for contract-owned buckets
    description str
    [string] Description of the Access key.
    secretkey str
    The secret key of the Access key.
    timeouts AccesskeyTimeoutsArgs
    Timeouts for this resource.
    accessKey String
    Access key metadata is a string of 92 characters.
    canonicalUserId String
    The canonical user ID which is valid for user-owned buckets.
    contractUserId String
    The contract user ID which is valid for contract-owned buckets
    description String
    [string] Description of the Access key.
    secretkey String
    The secret key of the Access key.
    timeouts Property Map
    Timeouts for this resource.

    Supporting Types

    AccesskeyTimeouts, AccesskeyTimeoutsArgs

    Create string
    [string] Time to wait for the bucket to be created. Default is 10m.
    Delete string

    [string] Time to wait for the bucket to be deleted. Default is 10m.

    ⚠ WARNING: IONOS_API_URL_OBJECT_STORAGE_MANAGEMENT can be used to set a custom API URL for the Object Storage Management SDK. Setting endpoint or IONOS_API_URL does not have any effect.

    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    Create string
    [string] Time to wait for the bucket to be created. Default is 10m.
    Delete string

    [string] Time to wait for the bucket to be deleted. Default is 10m.

    ⚠ WARNING: IONOS_API_URL_OBJECT_STORAGE_MANAGEMENT can be used to set a custom API URL for the Object Storage Management SDK. Setting endpoint or IONOS_API_URL does not have any effect.

    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    create string
    [string] Time to wait for the bucket to be created. Default is 10m.
    delete string

    [string] Time to wait for the bucket to be deleted. Default is 10m.

    ⚠ WARNING: IONOS_API_URL_OBJECT_STORAGE_MANAGEMENT can be used to set a custom API URL for the Object Storage Management SDK. Setting endpoint or IONOS_API_URL does not have any effect.

    read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    create String
    [string] Time to wait for the bucket to be created. Default is 10m.
    delete String

    [string] Time to wait for the bucket to be deleted. Default is 10m.

    ⚠ WARNING: IONOS_API_URL_OBJECT_STORAGE_MANAGEMENT can be used to set a custom API URL for the Object Storage Management SDK. Setting endpoint or IONOS_API_URL does not have any effect.

    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    create string
    [string] Time to wait for the bucket to be created. Default is 10m.
    delete string

    [string] Time to wait for the bucket to be deleted. Default is 10m.

    ⚠ WARNING: IONOS_API_URL_OBJECT_STORAGE_MANAGEMENT can be used to set a custom API URL for the Object Storage Management SDK. Setting endpoint or IONOS_API_URL does not have any effect.

    read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    create str
    [string] Time to wait for the bucket to be created. Default is 10m.
    delete str

    [string] Time to wait for the bucket to be deleted. Default is 10m.

    ⚠ WARNING: IONOS_API_URL_OBJECT_STORAGE_MANAGEMENT can be used to set a custom API URL for the Object Storage Management SDK. Setting endpoint or IONOS_API_URL does not have any effect.

    read str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    create String
    [string] Time to wait for the bucket to be created. Default is 10m.
    delete String

    [string] Time to wait for the bucket to be deleted. Default is 10m.

    ⚠ WARNING: IONOS_API_URL_OBJECT_STORAGE_MANAGEMENT can be used to set a custom API URL for the Object Storage Management SDK. Setting endpoint or IONOS_API_URL does not have any effect.

    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.

    Import

    An object storage accesskey resource can be imported using its resource id, e.g.

    $ pulumi import ionoscloud:objectstoragemanagement/accesskey:Accesskey demo objectStorageAccesskeyid
    

    This can be helpful when you want to import Object Storage Accesskeys which you have already created manually or using other means, outside of terraform.

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

    Package Details

    Repository
    ionoscloud ionos-cloud/pulumi-ionoscloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ionoscloud Terraform Provider.
    ionoscloud logo
    Viewing docs for IonosCloud v0.3.0
    published on Wednesday, Apr 15, 2026 by ionos-cloud
      Try Pulumi Cloud free. Your team will thank you.