Socket
Socket
Sign inDemoInstall

@nrfcloud/create-token

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nrfcloud/create-token

API endpoint which creates an identity token to be used for authenticating the user against the API


Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Create Token Endpoint

npm version Build Status Test Coverage
Greenkeeper badge semantic-release Commitizen friendly
DeepScan Grade Known Vulnerabilities Maintainability

API endpoint which creates an identity token to be used for authenticating the user against the API.

:warning: This endpoint should only be used for testing environments

Tests

The tests are integration tests and use CloudFormation to set up the required resources. See

Set these environment variables:

AWS_ACCESS_KEY_ID=...
AWS_SECRET_ACCESS_KEY=...

Make sure that this user has the necessary permissions:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": "cloudformation:*",
            "Resource": "arn:aws:cloudformation:*:*:stack/test-*"
        },
        {
            "Effect": "Allow",
            "Action": "cognito-idp:*",
            "Resource": "*"
        }
    ]
}

Keywords

FAQs

Package last updated on 31 Jan 2018

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