LogoLogo
  • Tensorleap
  • Examples
    • Semantic Segmentation
    • Image Analysis
    • Sentiment Analysis
    • MNIST Project Walkthrough
    • IMDB Project Walkthrough
  • Quickstart using CLI
  • Guides
    • Full Guides
      • MNIST Guide
        • Dataset Integration
        • Model Integration
        • Model Perception Analysis
        • Advanced Metrics
      • IMDB Guide
        • Dataset Integration
        • Model Integration
        • Model Perception Analysis
        • Advanced Metrics
    • Integration Script
      • Preprocess Function
      • Input Encoder
      • Ground Truth Encoder
      • Metadata Function
      • Visualizer Function
      • Prediction
      • Custom Metrics
      • Custom Loss Function
      • Custom Layers
      • Unlabeled Data
      • Examples
        • CelebA Object Detection (YoloV7)
        • Wikipedia Toxicity (using Tensorflow Datasets)
        • Confusion Matrix
        • CelebA Classification (using GCS)
  • Platform
    • Resources Management
    • Project
    • Dataset
    • Secret Manager
    • Network
      • Dataset Node
      • Layers
      • Loss and Optimizer
      • Visualizers
      • Import Model
      • Metrics
    • Evaluate / Train Model
    • Metrics Dashboard
    • Versions
    • Issues
    • Tests
    • Analysis
      • helpers
        • detection
          • YOLO
    • Team management
    • Insights
  • API
    • code_loader
      • leap_binder
        • add_custom_metric
        • set_preprocess
        • set_unlabeled_data_preprocess
        • set_input
        • set_ground_truth
        • set_metadata
        • add_prediction
        • add_custom_loss
        • set_visualizer
      • enums
        • DatasetMetadataType
        • LeapDataType
      • datasetclasses
        • PreprocessResponse
      • visualizer_classes
        • LeapImage
        • LeapImageWithBBox
        • LeapGraph
        • LeapText
        • LeapHorizontalBar
        • LeapImageMask
        • LeapTextMask
  • Tips & Tricks
    • Import External Code
  • Legal
    • Terms of Use
    • Privacy Policy
Powered by GitBook
On this page
  • Add a Secret
  • Update a Secret
  • Retrieve a Secret
  • Delete a Secret

Was this helpful?

  1. Platform

Secret Manager

To add, update, retrieve, and delete Secrets, use the Secret Manager

PreviousDatasetNextNetwork

Last updated 3 years ago

Was this helpful?

A Secret is a string that contains sensitive data and needs to be stored securely. Usually, this string contains sensitive credentials, such as login information or certificate keys, for accessing data on a cloud or a service.

Tensorleap provides a Secret Manager to manage these secrets. Each secret is stored securely, and only a machine running a task can access it.

Add a Secret

A common use of a Secret is to store credentials that allow a Dataset Instance to access the storage and fetch the data. A Secret can later be retrieved by a dataset script (see ).

To add a Secret:

  1. Click the side menu, then .

  2. On the Resources Management window, under the Secrets section, click New Secret.

  3. On the Secret Manager, enter a name for the secret, then select a provider from the list. The name of the secret should always be in lower case.

  4. Either drag and upload your secret key, or copy and paste it to the Secret Manager.

5. Click Save. The record is then added to the list under the Secrets section.

Update a Secret

Since Secrets are stored securely in our servers, only a machine running a dataset script can access a Secret normally. If you need to update a Secret, you can do so via the Tensorleap UI, but you cannot view the content of the Secret you previously entered.

To update a Secret:

  1. On the Resources Management window, under the Secrets section, look for the Secret to be retrieved from the list.

  2. Either drag and upload the updated secret key, or copy and paste it to the Secret Manager, then click Save.

To close the record without saving your changes, click Discard.

Retrieve a Secret

Delete a Secret

If you do not need a Secret anymore, you may delete it to make your list of Secrets more manageable.

Only Secrets that are not in use by any of the dataset instances can be deleted.

To delete a Secret:

  1. On the Resources Management window, under the Secrets section, look for the Secret to be deleted from the list.

Click the side menu, then .

When you find the Secret, position your cursor over the record, then click and Update Secret to display the Secret's details on the right.

Secrets can be retrieved by the , allowing it to use the sensitive data stored within a secret. The secret string is passed to the script as the environment variable AUTH_SECRET.

Click the side menu, then .

When you find the Secret, position your cursor over the record, then click and Delete Secret.

Resources Management
Resources Management
Resources Management
Retrieve a Secret
Dataset Script
Adding a Secret
Upon clicking Save, the Secret gets added to the list on the upper left
Updating a Secret
Deleting a Secret