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:
- Azure
Container KoyebRegistry Secret Azure Container Registry Args The Azure registry configuration to use
- Digital
Ocean KoyebContainer Registry Secret Digital Ocean Container Registry Args The DigitalOcean registry configuration to use
- Docker
Hub KoyebRegistry Secret Docker Hub Registry Args The DockerHub registry configuration to use
- Github
Registry KoyebSecret Github Registry Args The GitHub registry configuration to use
- Gitlab
Registry KoyebSecret Gitlab Registry Args The GitLab registry configuration to use
- Name string
The secret name
- Private
Registry KoyebSecret Private Registry Args The DigitalOcean registry configuration to use
- Type string
The secret type
- Value string
The secret value
- Azure
Container KoyebRegistry Secret Azure Container Registry Args The Azure registry configuration to use
- Digital
Ocean KoyebContainer Registry Secret Digital Ocean Container Registry Args The DigitalOcean registry configuration to use
- Docker
Hub KoyebRegistry Secret Docker Hub Registry Args The DockerHub registry configuration to use
- Github
Registry KoyebSecret Github Registry Args The GitHub registry configuration to use
- Gitlab
Registry KoyebSecret Gitlab Registry Args The GitLab registry configuration to use
- Name string
The secret name
- Private
Registry KoyebSecret Private Registry Args The DigitalOcean registry configuration to use
- Type string
The secret type
- Value string
The secret value
- azure
Container KoyebRegistry Secret Azure Container Registry Args The Azure registry configuration to use
- digital
Ocean KoyebContainer Registry Secret Digital Ocean Container Registry Args The DigitalOcean registry configuration to use
- docker
Hub KoyebRegistry Secret Docker Hub Registry Args The DockerHub registry configuration to use
- github
Registry KoyebSecret Github Registry Args The GitHub registry configuration to use
- gitlab
Registry KoyebSecret Gitlab Registry Args The GitLab registry configuration to use
- name String
The secret name
- private
Registry KoyebSecret Private Registry Args The DigitalOcean registry configuration to use
- type String
The secret type
- value String
The secret value
- azure
Container KoyebRegistry Secret Azure Container Registry Args The Azure registry configuration to use
- digital
Ocean KoyebContainer Registry Secret Digital Ocean Container Registry Args The DigitalOcean registry configuration to use
- docker
Hub KoyebRegistry Secret Docker Hub Registry Args The DockerHub registry configuration to use
- github
Registry KoyebSecret Github Registry Args The GitHub registry configuration to use
- gitlab
Registry KoyebSecret Gitlab Registry Args The GitLab registry configuration to use
- name string
The secret name
- private
Registry KoyebSecret Private Registry Args The DigitalOcean registry configuration to use
- type string
The secret type
- value string
The secret value
- azure_
container_ Koyebregistry Secret Azure Container Registry Args The Azure registry configuration to use
- digital_
ocean_ Koyebcontainer_ registry Secret Digital Ocean Container Registry Args The DigitalOcean registry configuration to use
- docker_
hub_ Koyebregistry Secret Docker Hub Registry Args The DockerHub registry configuration to use
- github_
registry KoyebSecret Github Registry Args The GitHub registry configuration to use
- gitlab_
registry KoyebSecret Gitlab Registry Args The GitLab registry configuration to use
- name str
The secret name
- private_
registry KoyebSecret Private Registry Args The DigitalOcean registry configuration to use
- type str
The secret type
- value str
The secret value
- azure
Container Property MapRegistry The Azure registry configuration to use
- digital
Ocean Property MapContainer Registry The DigitalOcean registry configuration to use
- docker
Hub Property MapRegistry The DockerHub registry configuration to use
- github
Registry Property Map The GitHub registry configuration to use
- gitlab
Registry Property Map The GitLab registry configuration to use
- name String
The secret name
- private
Registry 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:
- Created
At string The date and time of when the secret was created
- Id string
The provider-assigned unique ID for this managed resource.
- Organization
Id string The organization ID owning the secret
- Updated
At string The date and time of when the secret was last updated
- Created
At string The date and time of when the secret was created
- Id string
The provider-assigned unique ID for this managed resource.
- Organization
Id string The organization ID owning the secret
- Updated
At string The date and time of when the secret was last updated
- created
At String The date and time of when the secret was created
- id String
The provider-assigned unique ID for this managed resource.
- organization
Id String The organization ID owning the secret
- updated
At String The date and time of when the secret was last updated
- created
At string The date and time of when the secret was created
- id string
The provider-assigned unique ID for this managed resource.
- organization
Id string The organization ID owning the secret
- updated
At 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
- created
At String The date and time of when the secret was created
- id String
The provider-assigned unique ID for this managed resource.
- organization
Id String The organization ID owning the secret
- updated
At 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.
- Azure
Container KoyebRegistry Secret Azure Container Registry Args The Azure registry configuration to use
- Created
At string The date and time of when the secret was created
- Digital
Ocean KoyebContainer Registry Secret Digital Ocean Container Registry Args The DigitalOcean registry configuration to use
- Docker
Hub KoyebRegistry Secret Docker Hub Registry Args The DockerHub registry configuration to use
- Github
Registry KoyebSecret Github Registry Args The GitHub registry configuration to use
- Gitlab
Registry KoyebSecret Gitlab Registry Args The GitLab registry configuration to use
- Name string
The secret name
- Organization
Id string The organization ID owning the secret
- Private
Registry KoyebSecret Private Registry Args The DigitalOcean registry configuration to use
- Type string
The secret type
- Updated
At string The date and time of when the secret was last updated
- Value string
The secret value
- Azure
Container KoyebRegistry Secret Azure Container Registry Args The Azure registry configuration to use
- Created
At string The date and time of when the secret was created
- Digital
Ocean KoyebContainer Registry Secret Digital Ocean Container Registry Args The DigitalOcean registry configuration to use
- Docker
Hub KoyebRegistry Secret Docker Hub Registry Args The DockerHub registry configuration to use
- Github
Registry KoyebSecret Github Registry Args The GitHub registry configuration to use
- Gitlab
Registry KoyebSecret Gitlab Registry Args The GitLab registry configuration to use
- Name string
The secret name
- Organization
Id string The organization ID owning the secret
- Private
Registry KoyebSecret Private Registry Args The DigitalOcean registry configuration to use
- Type string
The secret type
- Updated
At string The date and time of when the secret was last updated
- Value string
The secret value
- azure
Container KoyebRegistry Secret Azure Container Registry Args The Azure registry configuration to use
- created
At String The date and time of when the secret was created
- digital
Ocean KoyebContainer Registry Secret Digital Ocean Container Registry Args The DigitalOcean registry configuration to use
- docker
Hub KoyebRegistry Secret Docker Hub Registry Args The DockerHub registry configuration to use
- github
Registry KoyebSecret Github Registry Args The GitHub registry configuration to use
- gitlab
Registry KoyebSecret Gitlab Registry Args The GitLab registry configuration to use
- name String
The secret name
- organization
Id String The organization ID owning the secret
- private
Registry KoyebSecret Private Registry Args The DigitalOcean registry configuration to use
- type String
The secret type
- updated
At String The date and time of when the secret was last updated
- value String
The secret value
- azure
Container KoyebRegistry Secret Azure Container Registry Args The Azure registry configuration to use
- created
At string The date and time of when the secret was created
- digital
Ocean KoyebContainer Registry Secret Digital Ocean Container Registry Args The DigitalOcean registry configuration to use
- docker
Hub KoyebRegistry Secret Docker Hub Registry Args The DockerHub registry configuration to use
- github
Registry KoyebSecret Github Registry Args The GitHub registry configuration to use
- gitlab
Registry KoyebSecret Gitlab Registry Args The GitLab registry configuration to use
- name string
The secret name
- organization
Id string The organization ID owning the secret
- private
Registry KoyebSecret Private Registry Args The DigitalOcean registry configuration to use
- type string
The secret type
- updated
At string The date and time of when the secret was last updated
- value string
The secret value
- azure_
container_ Koyebregistry Secret Azure Container Registry Args The Azure registry configuration to use
- created_
at str The date and time of when the secret was created
- digital_
ocean_ Koyebcontainer_ registry Secret Digital Ocean Container Registry Args The DigitalOcean registry configuration to use
- docker_
hub_ Koyebregistry Secret Docker Hub Registry Args The DockerHub registry configuration to use
- github_
registry KoyebSecret Github Registry Args The GitHub registry configuration to use
- gitlab_
registry KoyebSecret Gitlab Registry Args The GitLab registry configuration to use
- name str
The secret name
- organization_
id str The organization ID owning the secret
- private_
registry KoyebSecret Private Registry Args 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
- azure
Container Property MapRegistry The Azure registry configuration to use
- created
At String The date and time of when the secret was created
- digital
Ocean Property MapContainer Registry The DigitalOcean registry configuration to use
- docker
Hub Property MapRegistry The DockerHub registry configuration to use
- github
Registry Property Map The GitHub registry configuration to use
- gitlab
Registry Property Map The GitLab registry configuration to use
- name String
The secret name
- organization
Id String The organization ID owning the secret
- private
Registry Property Map The DigitalOcean registry configuration to use
- type String
The secret type
- updated
At 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
- Registry
Name string The registry name
- Username string
The registry username
- Password string
The registry password
- Registry
Name string The registry name
- Username string
The registry username
- password String
The registry password
- registry
Name String The registry name
- username String
The registry username
- password string
The registry password
- registry
Name 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
- registry
Name String The registry name
- username String
The registry username
KoyebSecretDigitalOceanContainerRegistry
KoyebSecretDockerHubRegistry
KoyebSecretGithubRegistry
KoyebSecretGitlabRegistry
KoyebSecretPrivateRegistry
Package Details
- Repository
- koyeb koyeb/pulumi-koyeb
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
koyeb
Terraform Provider.