Giter Site home page Giter Site logo

cli-netstorage's Introduction

PREVIEW: Akamai CLI for Netstorage

NOTE: This tool is intended to be installed via the Akamai CLI package manager, which can be retrieved from the releases page of the Akamai CLI tool.

NOTE: This tool is only supported for use with ObjectStore, not with the older FileStore system. Any use of the tool to work with FileStore directories is unsupported.

This is under active development but ready for exploring and testing. Please open issues if you have questions or requests.

Credentials

  • Various values associated with the Storage Group and Upload Account are required for use in calls made to the API. Once the Upload Account has fully propagated (after enabling the HTTP API), you can view it in the NetStorage Groups UI to gather this information. Select the Upload Account entity.
  • Locate the Upload Account in which you've enabled the NetStorage HTTP API, and click it to open Detail View. (You can type the name of the target account in the Filter field to limit results in this table.)
  • Click the Edit button.

Make note of the following values:

  • The "Key" Value -
    • Under "Upload Accounts" select the account
    • Click the "edit" icon in the upper right
    • Under "Access methods" click the Netstorage HTTP CMS API tab
    • The key is in the resulting table
  • The "Id" in the Upload Account Details content panel.
  • The Storage Group Name (group) - This is revealed in the second column of the table in the Upload Directory Association content panel.

Select the Storage Groups entity.

  • Input the Storage Group Name you noted in the Filter field.
  • Click its entry in the table to open Detail View.
  • In the Storage Group Details, make note of the NetStorage HTTP API entry for the host entry

Once you have gathered all the values, run 'akamai netstorage setup' to save them to your system.

Overview

The Akamai Netstorage CLI is a utility for interacting with Akamai's NetStorage platform from the command line.

Usage: akamai netstorage <command> <args> [options]

Commands:
  setup                     Setup authentication for Netstorage
  du                        disk usage stats
  mkdir <directory>         create a new directory
  rmdir <directory>         delete a directory
  dir <directory>           view a directory structure
  quick-delete <directory>  recursively delete a directory
  list <directory>          view a directory listing
  upload <file>             upload a file
  download <file>           download a file
  delete <file>             delete a file
  rename <file> <location>  rename/move a file
  symlink <file> <target>   create a symlink
  mtime <file>              update modification time for a file
  stat <file>               see file information

Command options:
  --config <config>    Config file
                       [file] [default: ~/.akamai-cli/.netstorage/auth]

  --section <section>  Section for config file
                       [string] [default: default]

  --cpcode <cpcode>    Default CPCode
                       [string]

  --help               Show help
                       [commands: help] [boolean]

  --version            Show version number
                       [commands: version] [boolean]

Copyright (C) Akamai Technologies, Inc Visit http://github.com/akamai/cli-netstorage for detailed documentation

cli-netstorage's People

Contributors

synedra avatar colinbendell avatar akalcosmin avatar akshayranganath avatar k-cheddar avatar dshafik avatar tomasbedrich avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.