Hub JS Package

Hub JS Package

  • Users
  • Buckets
  • Threads
  • Textile Docs

›Common Types

Common Types

  • UserAuth type
  • CopyAuthOptions interface
  • WithKeyInfoOptions interface
  • WithUserAuthOptions interface
  • APISig type
  • KeyInfo type
  • Status enum
  • Variant enum

Type Properties

  • CopyAuthOptions.debug property
  • WithKeyInfoOptions.debug property
  • WithKeyInfoOptions.date property
  • WithKeyInfoOptions.host property
  • WithUserAuthOptions.debug property
  • WithUserAuthOptions.host property

@textile/hub > KeyInfo

KeyInfo type

KeyInfo is a type that contains the API Secret. It should never be shared in insecure environments.

Signature:

export declare type KeyInfo = {
    key: string;
    secret?: string;
};

Example

Import

import {KeyInfo} from '@textile/hub';

← APISig typeStatus enum →
  • KeyInfo type
  • Example
Hub JS Package
Docs
Getting StartedThreadDBBuckets
Resources
All DocumentationProject SlackBlog
More
GitHubStar
Follow @textileio