Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

akamaiwebkit

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

akamaiwebkit

A wrapping development kit to interface common tasks with akamai's {OPEN} API.

  • 0.0.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
8
increased by700%
Maintainers
1
Weekly downloads
 
Created
Source

#AkamaiWeb SDK

Overview

This is a set of nodejs libraries use to wrap Akamai's {OPEN} APIs to help simplify the operations and interactions with Akamai for common tasks. There are 4 core libraries:

  • website.js - manage changes for rules against your website configuration. Specifically perform updates for your Web Performance products (DSD, DSA, Ion Standard, Ion Premier)
  • tls.js - manage TLS certificates that are used by the various website configurations
  • dns.js - manage the DNS zone for FastDNS customers
  • apiclient.js - manage the API keys used for the above SDKs

These libraries are written in ES6, use babel if you require ES5 environments

Grunt tasks are available that wrap these libraries for common build activities.

Getting started: website.js

Start with creating the WebSite object:

let WebSite = require('AkamaiWeb').WebSite;
let exampleDotCom = new WebSite();

exampleDotCom.copy("qa-www.example.com", "sage-www.example.com")
  .then(data -> { console.log("Rules copied accross Akamai configurations!")});

This will use the [default] credentials in the ~/.edgerc file. Alternate object creations include:

Specifying to use the [continuous_delivery] section in the file /cyberark/edgerc

let exampleDotCom = new WebSite({path:"/cyberark/edgerc", section: "[continuous_delivery]"});

You can alternatively specify the clientToken, clientSecret, accessToken, and host as properties of the constructor object

let exampleDotCom = new WebSite({clientToken:"a1b2", clientSecret: "c3d4", accessToken: "e5f6", host: "g7h8.luna.akamaiapis.net"});

FAQs

Package last updated on 07 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc