Skip to main content

service/domain/document/secret_get

Api Code Documentation / Exports / service/domain/document/secret_get

Table of contents#

Functions#

Functions#

getAllSecrets#

getAllSecrets(ctx, repository): Promise<Type<SecretPublished[]>>

Parameters#

NameType
ctxCtx
repositoryRepository

Returns#

Promise<Type<SecretPublished[]>>

Defined in#

src/service/domain/document/secret_get.ts:14


getSecret#

getSecret(ctx, docId, organization, repository): Promise<Type<SecretPublished>>

Parameters#

NameType
ctxCtx
docIdstring
organizationstring
repositoryRepository

Returns#

Promise<Type<SecretPublished>>

Defined in#

src/service/domain/document/secret_get.ts:27


secretAlreadyExists#

secretAlreadyExists(ctx, docId, organization, repository): Promise<Type<boolean>>

Parameters#

NameType
ctxCtx
docIdstring
organizationstring
repositoryRepository

Returns#

Promise<Type<boolean>>

Defined in#

src/service/domain/document/secret_get.ts:49