PluginContext
Defined in: plugins/holocron-plugin-infisical/src/index.ts:26
Shared state for one Infisical plugin instance: its options and a lazily created client.
Properties
Section titled “Properties”client
Section titled “client”client: () =>
object
Defined in: plugins/holocron-plugin-infisical/src/index.ts:30
Returns the memoized Infisical client; the token is resolved on the first call, not at plugin load.
Returns
Section titled “Returns”object
secrets
Section titled “secrets”secrets:
object
secrets.create
Section titled “secrets.create”create: (
name,input) =>Promise<unknown>
Parameters
Section titled “Parameters”string
InfisicalCreateSecretInput
Returns
Section titled “Returns”Promise<unknown>
secrets.get
Section titled “secrets.get”get: (
name,scope) =>Promise<InfisicalSecretResponse>
Parameters
Section titled “Parameters”string
InfisicalSecretScope
Returns
Section titled “Returns”Promise<InfisicalSecretResponse>
secrets.list
Section titled “secrets.list”list: (
scope) =>Promise<InfisicalSecretsListResponse>
Parameters
Section titled “Parameters”InfisicalSecretScope
Returns
Section titled “Returns”Promise<InfisicalSecretsListResponse>
secrets.update
Section titled “secrets.update”update: (
name,input) =>Promise<unknown>
Parameters
Section titled “Parameters”string
InfisicalUpdateSecretInput
Returns
Section titled “Returns”Promise<unknown>
workspaces
Section titled “workspaces”workspaces:
object
workspaces.create
Section titled “workspaces.create”create: (
name,slug) =>Promise<unknown>
Parameters
Section titled “Parameters”string
string
Returns
Section titled “Returns”Promise<unknown>
workspaces.createEnvironment
Section titled “workspaces.createEnvironment”createEnvironment: (
workspaceId,name,slug) =>Promise<unknown>
Parameters
Section titled “Parameters”workspaceId
Section titled “workspaceId”string
string
string
Returns
Section titled “Returns”Promise<unknown>
workspaces.get
Section titled “workspaces.get”get: (
workspaceId) =>Promise<InfisicalWorkspaceDetailsResponse>
Parameters
Section titled “Parameters”workspaceId
Section titled “workspaceId”string
Returns
Section titled “Returns”Promise<InfisicalWorkspaceDetailsResponse>
workspaces.list
Section titled “workspaces.list”list: () =>
Promise<InfisicalWorkspaceListResponse>
Returns
Section titled “Returns”Promise<InfisicalWorkspaceListResponse>
options
Section titled “options”options:
InfisicalPluginOptions
Defined in: plugins/holocron-plugin-infisical/src/index.ts:28
The options the plugin was created with.