koyeb logo
koyeb v0.1.7, Nov 30 22

koyeb.KoyebSecret

Explore with Pulumi AI

Example Usage

using System.Collections.Generic;
using Pulumi;
using Koyeb = Pulumi.Koyeb;

return await Deployment.RunAsync(() => 
{
    var simple_secret = new Koyeb.KoyebSecret("simple-secret", new()
    {
        Value = "secret-value",
    });

});
package main

import (
	"github.com/pulumi/pulumi-koyeb/sdk/go/koyeb"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := koyeb.NewKoyebSecret(ctx, "simple-secret", &koyeb.KoyebSecretArgs{
			Value: pulumi.String("secret-value"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.koyeb.KoyebSecret;
import com.pulumi.koyeb.KoyebSecretArgs;
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 simple_secret = new KoyebSecret("simple-secret", KoyebSecretArgs.builder()        
            .value("secret-value")
            .build());

    }
}
import pulumi
import pulumi_koyeb as koyeb

simple_secret = koyeb.KoyebSecret("simple-secret", value="secret-value")
import * as pulumi from "@pulumi/pulumi";
import * as koyeb from "@pulumi/koyeb";

const simple_secret = new koyeb.KoyebSecret("simple-secret", {
    value: "secret-value",
});
resources:
  simple-secret:
    type: koyeb:KoyebSecret
    properties:
      value: secret-value

Create KoyebSecret Resource

new KoyebSecret(name: string, args?: KoyebSecretArgs, opts?: CustomResourceOptions);
@overload
def KoyebSecret(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                azure_container_registry: Optional[KoyebSecretAzureContainerRegistryArgs] = None,
                digital_ocean_container_registry: Optional[KoyebSecretDigitalOceanContainerRegistryArgs] = None,
                docker_hub_registry: Optional[KoyebSecretDockerHubRegistryArgs] = None,
                github_registry: Optional[KoyebSecretGithubRegistryArgs] = None,
                gitlab_registry: Optional[KoyebSecretGitlabRegistryArgs] = None,
                name: Optional[str] = None,
                private_registry: Optional[KoyebSecretPrivateRegistryArgs] = None,
                type: Optional[str] = None,
                value: Optional[str] = None)
@overload
def KoyebSecret(resource_name: str,
                args: Optional[KoyebSecretArgs] = None,
                opts: Optional[ResourceOptions] = None)
func NewKoyebSecret(ctx *Context, name string, args *KoyebSecretArgs, opts ...ResourceOption) (*KoyebSecret, error)
public KoyebSecret(string name, KoyebSecretArgs? args = null, CustomResourceOptions? opts = null)
public KoyebSecret(String name, KoyebSecretArgs args)
public KoyebSecret(String name, KoyebSecretArgs args, CustomResourceOptions options)
type: koyeb:KoyebSecret
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args KoyebSecretArgs
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 KoyebSecretArgs
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 KoyebSecretArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args KoyebSecretArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args KoyebSecretArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

KoyebSecret Resource Properties

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

Inputs

The KoyebSecret resource accepts the following input properties:

AzureContainerRegistry KoyebSecretAzureContainerRegistryArgs

The Azure registry configuration to use

DigitalOceanContainerRegistry KoyebSecretDigitalOceanContainerRegistryArgs

The DigitalOcean registry configuration to use

DockerHubRegistry KoyebSecretDockerHubRegistryArgs

The DockerHub registry configuration to use

GithubRegistry KoyebSecretGithubRegistryArgs

The GitHub registry configuration to use

GitlabRegistry KoyebSecretGitlabRegistryArgs

The GitLab registry configuration to use

Name string

The secret name

PrivateRegistry KoyebSecretPrivateRegistryArgs

The DigitalOcean registry configuration to use

Type string

The secret type

Value string

The secret value

AzureContainerRegistry KoyebSecretAzureContainerRegistryArgs

The Azure registry configuration to use

DigitalOceanContainerRegistry KoyebSecretDigitalOceanContainerRegistryArgs

The DigitalOcean registry configuration to use

DockerHubRegistry KoyebSecretDockerHubRegistryArgs

The DockerHub registry configuration to use

GithubRegistry KoyebSecretGithubRegistryArgs

The GitHub registry configuration to use

GitlabRegistry KoyebSecretGitlabRegistryArgs

The GitLab registry configuration to use

Name string

The secret name

PrivateRegistry KoyebSecretPrivateRegistryArgs

The DigitalOcean registry configuration to use

Type string

The secret type

Value string

The secret value

azureContainerRegistry KoyebSecretAzureContainerRegistryArgs

The Azure registry configuration to use

digitalOceanContainerRegistry KoyebSecretDigitalOceanContainerRegistryArgs

The DigitalOcean registry configuration to use

dockerHubRegistry KoyebSecretDockerHubRegistryArgs

The DockerHub registry configuration to use

githubRegistry KoyebSecretGithubRegistryArgs

The GitHub registry configuration to use

gitlabRegistry KoyebSecretGitlabRegistryArgs

The GitLab registry configuration to use

name String

The secret name

privateRegistry KoyebSecretPrivateRegistryArgs

The DigitalOcean registry configuration to use

type String

The secret type

value String

The secret value

azureContainerRegistry KoyebSecretAzureContainerRegistryArgs

The Azure registry configuration to use

digitalOceanContainerRegistry KoyebSecretDigitalOceanContainerRegistryArgs

The DigitalOcean registry configuration to use

dockerHubRegistry KoyebSecretDockerHubRegistryArgs

The DockerHub registry configuration to use

githubRegistry KoyebSecretGithubRegistryArgs

The GitHub registry configuration to use

gitlabRegistry KoyebSecretGitlabRegistryArgs

The GitLab registry configuration to use

name string

The secret name

privateRegistry KoyebSecretPrivateRegistryArgs

The DigitalOcean registry configuration to use

type string

The secret type

value string

The secret value

azure_container_registry KoyebSecretAzureContainerRegistryArgs

The Azure registry configuration to use

digital_ocean_container_registry KoyebSecretDigitalOceanContainerRegistryArgs

The DigitalOcean registry configuration to use

docker_hub_registry KoyebSecretDockerHubRegistryArgs

The DockerHub registry configuration to use

github_registry KoyebSecretGithubRegistryArgs

The GitHub registry configuration to use

gitlab_registry KoyebSecretGitlabRegistryArgs

The GitLab registry configuration to use

name str

The secret name

private_registry KoyebSecretPrivateRegistryArgs

The DigitalOcean registry configuration to use

type str

The secret type

value str

The secret value

azureContainerRegistry Property Map

The Azure registry configuration to use

digitalOceanContainerRegistry Property Map

The DigitalOcean registry configuration to use

dockerHubRegistry Property Map

The DockerHub registry configuration to use

githubRegistry Property Map

The GitHub registry configuration to use

gitlabRegistry Property Map

The GitLab registry configuration to use

name String

The secret name

privateRegistry Property Map

The DigitalOcean registry configuration to use

type String

The secret type

value String

The secret value

Outputs

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

CreatedAt string

The date and time of when the secret was created

Id string

The provider-assigned unique ID for this managed resource.

OrganizationId string

The organization ID owning the secret

UpdatedAt string

The date and time of when the secret was last updated

CreatedAt string

The date and time of when the secret was created

Id string

The provider-assigned unique ID for this managed resource.

OrganizationId string

The organization ID owning the secret

UpdatedAt string

The date and time of when the secret was last updated

createdAt String

The date and time of when the secret was created

id String

The provider-assigned unique ID for this managed resource.

organizationId String

The organization ID owning the secret

updatedAt String

The date and time of when the secret was last updated

createdAt string

The date and time of when the secret was created

id string

The provider-assigned unique ID for this managed resource.

organizationId string

The organization ID owning the secret

updatedAt string

The date and time of when the secret was last updated

created_at str

The date and time of when the secret was created

id str

The provider-assigned unique ID for this managed resource.

organization_id str

The organization ID owning the secret

updated_at str

The date and time of when the secret was last updated

createdAt String

The date and time of when the secret was created

id String

The provider-assigned unique ID for this managed resource.

organizationId String

The organization ID owning the secret

updatedAt String

The date and time of when the secret was last updated

Look up Existing KoyebSecret Resource

Get an existing KoyebSecret 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?: KoyebSecretState, opts?: CustomResourceOptions): KoyebSecret
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        azure_container_registry: Optional[KoyebSecretAzureContainerRegistryArgs] = None,
        created_at: Optional[str] = None,
        digital_ocean_container_registry: Optional[KoyebSecretDigitalOceanContainerRegistryArgs] = None,
        docker_hub_registry: Optional[KoyebSecretDockerHubRegistryArgs] = None,
        github_registry: Optional[KoyebSecretGithubRegistryArgs] = None,
        gitlab_registry: Optional[KoyebSecretGitlabRegistryArgs] = None,
        name: Optional[str] = None,
        organization_id: Optional[str] = None,
        private_registry: Optional[KoyebSecretPrivateRegistryArgs] = None,
        type: Optional[str] = None,
        updated_at: Optional[str] = None,
        value: Optional[str] = None) -> KoyebSecret
func GetKoyebSecret(ctx *Context, name string, id IDInput, state *KoyebSecretState, opts ...ResourceOption) (*KoyebSecret, error)
public static KoyebSecret Get(string name, Input<string> id, KoyebSecretState? state, CustomResourceOptions? opts = null)
public static KoyebSecret get(String name, Output<String> id, KoyebSecretState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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:
AzureContainerRegistry KoyebSecretAzureContainerRegistryArgs

The Azure registry configuration to use

CreatedAt string

The date and time of when the secret was created

DigitalOceanContainerRegistry KoyebSecretDigitalOceanContainerRegistryArgs

The DigitalOcean registry configuration to use

DockerHubRegistry KoyebSecretDockerHubRegistryArgs

The DockerHub registry configuration to use

GithubRegistry KoyebSecretGithubRegistryArgs

The GitHub registry configuration to use

GitlabRegistry KoyebSecretGitlabRegistryArgs

The GitLab registry configuration to use

Name string

The secret name

OrganizationId string

The organization ID owning the secret

PrivateRegistry KoyebSecretPrivateRegistryArgs

The DigitalOcean registry configuration to use

Type string

The secret type

UpdatedAt string

The date and time of when the secret was last updated

Value string

The secret value

AzureContainerRegistry KoyebSecretAzureContainerRegistryArgs

The Azure registry configuration to use

CreatedAt string

The date and time of when the secret was created

DigitalOceanContainerRegistry KoyebSecretDigitalOceanContainerRegistryArgs

The DigitalOcean registry configuration to use

DockerHubRegistry KoyebSecretDockerHubRegistryArgs

The DockerHub registry configuration to use

GithubRegistry KoyebSecretGithubRegistryArgs

The GitHub registry configuration to use

GitlabRegistry KoyebSecretGitlabRegistryArgs

The GitLab registry configuration to use

Name string

The secret name

OrganizationId string

The organization ID owning the secret

PrivateRegistry KoyebSecretPrivateRegistryArgs

The DigitalOcean registry configuration to use

Type string

The secret type

UpdatedAt string

The date and time of when the secret was last updated

Value string

The secret value

azureContainerRegistry KoyebSecretAzureContainerRegistryArgs

The Azure registry configuration to use

createdAt String

The date and time of when the secret was created

digitalOceanContainerRegistry KoyebSecretDigitalOceanContainerRegistryArgs

The DigitalOcean registry configuration to use

dockerHubRegistry KoyebSecretDockerHubRegistryArgs

The DockerHub registry configuration to use

githubRegistry KoyebSecretGithubRegistryArgs

The GitHub registry configuration to use

gitlabRegistry KoyebSecretGitlabRegistryArgs

The GitLab registry configuration to use

name String

The secret name

organizationId String

The organization ID owning the secret

privateRegistry KoyebSecretPrivateRegistryArgs

The DigitalOcean registry configuration to use

type String

The secret type

updatedAt String

The date and time of when the secret was last updated

value String

The secret value

azureContainerRegistry KoyebSecretAzureContainerRegistryArgs

The Azure registry configuration to use

createdAt string

The date and time of when the secret was created

digitalOceanContainerRegistry KoyebSecretDigitalOceanContainerRegistryArgs

The DigitalOcean registry configuration to use

dockerHubRegistry KoyebSecretDockerHubRegistryArgs

The DockerHub registry configuration to use

githubRegistry KoyebSecretGithubRegistryArgs

The GitHub registry configuration to use

gitlabRegistry KoyebSecretGitlabRegistryArgs

The GitLab registry configuration to use

name string

The secret name

organizationId string

The organization ID owning the secret

privateRegistry KoyebSecretPrivateRegistryArgs

The DigitalOcean registry configuration to use

type string

The secret type

updatedAt string

The date and time of when the secret was last updated

value string

The secret value

azure_container_registry KoyebSecretAzureContainerRegistryArgs

The Azure registry configuration to use

created_at str

The date and time of when the secret was created

digital_ocean_container_registry KoyebSecretDigitalOceanContainerRegistryArgs

The DigitalOcean registry configuration to use

docker_hub_registry KoyebSecretDockerHubRegistryArgs

The DockerHub registry configuration to use

github_registry KoyebSecretGithubRegistryArgs

The GitHub registry configuration to use

gitlab_registry KoyebSecretGitlabRegistryArgs

The GitLab registry configuration to use

name str

The secret name

organization_id str

The organization ID owning the secret

private_registry KoyebSecretPrivateRegistryArgs

The DigitalOcean registry configuration to use

type str

The secret type

updated_at str

The date and time of when the secret was last updated

value str

The secret value

azureContainerRegistry Property Map

The Azure registry configuration to use

createdAt String

The date and time of when the secret was created

digitalOceanContainerRegistry Property Map

The DigitalOcean registry configuration to use

dockerHubRegistry Property Map

The DockerHub registry configuration to use

githubRegistry Property Map

The GitHub registry configuration to use

gitlabRegistry Property Map

The GitLab registry configuration to use

name String

The secret name

organizationId String

The organization ID owning the secret

privateRegistry Property Map

The DigitalOcean registry configuration to use

type String

The secret type

updatedAt String

The date and time of when the secret was last updated

value String

The secret value

Supporting Types

KoyebSecretAzureContainerRegistry

Password string

The registry password

RegistryName string

The registry name

Username string

The registry username

Password string

The registry password

RegistryName string

The registry name

Username string

The registry username

password String

The registry password

registryName String

The registry name

username String

The registry username

password string

The registry password

registryName string

The registry name

username string

The registry username

password str

The registry password

registry_name str

The registry name

username str

The registry username

password String

The registry password

registryName String

The registry name

username String

The registry username

KoyebSecretDigitalOceanContainerRegistry

Password string

The registry password

Username string

The registry username

Password string

The registry password

Username string

The registry username

password String

The registry password

username String

The registry username

password string

The registry password

username string

The registry username

password str

The registry password

username str

The registry username

password String

The registry password

username String

The registry username

KoyebSecretDockerHubRegistry

Password string

The registry password

Username string

The registry username

Password string

The registry password

Username string

The registry username

password String

The registry password

username String

The registry username

password string

The registry password

username string

The registry username

password str

The registry password

username str

The registry username

password String

The registry password

username String

The registry username

KoyebSecretGithubRegistry

Password string

The registry password

Username string

The registry username

Password string

The registry password

Username string

The registry username

password String

The registry password

username String

The registry username

password string

The registry password

username string

The registry username

password str

The registry password

username str

The registry username

password String

The registry password

username String

The registry username

KoyebSecretGitlabRegistry

Password string

The registry password

Username string

The registry username

Password string

The registry password

Username string

The registry username

password String

The registry password

username String

The registry username

password string

The registry password

username string

The registry username

password str

The registry password

username str

The registry username

password String

The registry password

username String

The registry username

KoyebSecretPrivateRegistry

Password string

The registry password

Url string

The registry url

Username string

The registry username

Password string

The registry password

Url string

The registry url

Username string

The registry username

password String

The registry password

url String

The registry url

username String

The registry username

password string

The registry password

url string

The registry url

username string

The registry username

password str

The registry password

url str

The registry url

username str

The registry username

password String

The registry password

url String

The registry url

username String

The registry username

Package Details

Repository
koyeb koyeb/pulumi-koyeb
License
Apache-2.0
Notes

This Pulumi package is based on the koyeb Terraform Provider.