@runloop/api-client - v2.0.0
    Preparing search index...

    Class SecretById

    An exact Secret row, unlike the name-bound Secret.

    Obtain one with sdk.secret.fromId(id). Construction makes no request. The ID never changes, but another writer can change the row's value. Requests retain the generated client's retry policy; they are not exactly-once operations. Use getInfo() for the name and other metadata. Values are never returned.

    Index

    Accessors

    Methods

    Accessors

    Methods

    • Retrieve metadata for this ID. A missing ID never falls back to a name.

      Parameters

      • Optionaloptions: RequestOptions<unknown>

      Returns Promise<SecretView>

    • Delete only this row. An older same-name row may become visible to name readers.

      Parameters

      • Optionaloptions: RequestOptions<unknown>

      Returns Promise<SecretView>