models

package
v0.3.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 1 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSIAMCredential added in v0.3.4

type AWSIAMCredential struct {
	IdentityID string
}

type AccessTokenCredential added in v0.3.4

type AccessTokenCredential struct {
	AccessToken string
}

type AzureCredential added in v0.3.4

type AzureCredential struct {
	IdentityID string
	Resource   string
}

type DynamicSecret added in v0.3.9

type DynamicSecret struct {
	Id            string    `json:"id"`
	Name          string    `json:"name"`
	Type          string    `json:"type"`
	Version       int       `json:"number"`
	DefaultTTL    string    `json:"defaultTTL"`
	MaxTTL        string    `json:"maxTTL"`
	FolderID      string    `json:"folderId"`
	Status        string    `json:"status"`
	StatusDetails string    `json:"statusDetails"`
	CreatedAt     time.Time `json:"createdAt"`
	UpdatedAt     time.Time `json:"updatedAt"`
}

type DynamicSecretLease added in v0.3.9

type DynamicSecretLease struct {
	Id               string    `json:"id"`
	Type             string    `json:"type"`
	Version          int       `json:"number"`
	ExternalEntityId string    `json:"externalEntityId"`
	ExpireAt         time.Time `json:"expireAt"`
	Status           string    `json:"status"`
	DynamicSecretId  string    `json:"dynamicSecretId"`
	StatusDetails    string    `json:"statusDetails"`
	CreatedAt        time.Time `json:"createdAt"`
	UpdatedAt        time.Time `json:"updatedAt"`
}

type DynamicSecretLeaseWithDynamicSecret added in v0.3.9

type DynamicSecretLeaseWithDynamicSecret struct {
	Id               string        `json:"id"`
	Type             string        `json:"type"`
	Version          int           `json:"number"`
	ExternalEntityId string        `json:"externalEntityId"`
	ExpireAt         time.Time     `json:"expireAt"`
	Status           string        `json:"status"`
	DynamicSecretId  string        `json:"dynamicSecretId"`
	StatusDetails    string        `json:"statusDetails"`
	CreatedAt        time.Time     `json:"createdAt"`
	UpdatedAt        time.Time     `json:"updatedAt"`
	DynamicSecret    DynamicSecret `json:"dynamicSecret"`
}

type Folder added in v0.1.6

type Folder struct {
	ID            string    `json:"id"`
	Name          string    `json:"name"`
	Version       int       `json:"version"`
	CreatedAt     time.Time `json:"createdAt"`
	UpdatedAt     time.Time `json:"updatedAt"`
	EnvironmentID string    `json:"envId"`
	ParentID      string    `json:"parentId"`
	IsReserved    bool      `json:"isReserved"`
}

type GCPIAMCredential added in v0.3.4

type GCPIAMCredential struct {
	IdentityID                string
	ServiceAccountKeyFilePath string
}

type GCPIDTokenCredential added in v0.3.4

type GCPIDTokenCredential struct {
	IdentityID string
}

type KubernetesCredential added in v0.3.4

type KubernetesCredential struct {
	IdentityID          string
	ServiceAccountToken string
}

type OIDCCredential added in v0.3.4

type OIDCCredential struct {
	IdentityID string
	JWT        string
}

type Secret

type Secret struct {
	ID            string `json:"id"`
	Workspace     string `json:"workspace"`
	Environment   string `json:"environment"`
	Version       int    `json:"version"`
	Type          string `json:"type"`
	SecretKey     string `json:"secretKey"`
	SecretValue   string `json:"secretValue"`
	SecretComment string `json:"secretComment"`
	SecretPath    string `json:"secretPath,omitempty"`
}

type SecretImport

type SecretImport struct {
	SecretPath  string   `json:"secretPath"`
	Environment string   `json:"environment"`
	FolderID    string   `json:"folderId"`
	Secrets     []Secret `json:"secrets"`
}

type TokenType added in v0.2.0

type TokenType string
const (
	BEARER_TOKEN_TYPE TokenType = "Bearer"
)

type UniversalAuthCredential added in v0.3.4

type UniversalAuthCredential struct {
	ClientID     string
	ClientSecret string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL