Enclaive Multi Cloud Platform
HomeDocumentationTutorialsTry Cloud
  • Enclaive Multi Cloud Platform
  • Documentation
    • What is EMCP?
    • Why use EMCP?
    • Features
      • Virtual HSM
      • Vault
      • Nitride
      • Buckypaper
      • Dyneemes
      • Morphism
    • Supported Cloud Platforms
  • Tutorials
    • Buckypaper
      • Create a Buckypaper VM
      • Connect with SSH
      • Manage DNS
        • Cloudflare
      • Tag Buckypaper
      • Secure your VM with Firewall
      • Turn on/off Buckypapers
      • Destroy Buckypapers
    • Dyneemes
      • Create clusters
      • Connect to a cluster
      • Setup advanced monitoring
      • Upgrade without data loss
      • Add nodes and node pools
      • Drain and restart nodes
    • Data-in-use encrypting Database
      • Create a database cluster
      • Configure CNAME DNS record
      • Delete Applications
    • Applications
      • Create Nextcloud Hub
      • Configure CNAME DNS record
      • Delete Applications
      • After the installation
    • Billing
      • Add/Update payment method
      • Add/Change address
      • Add/Change VAT
    • Settings
      • Manage Team
        • Create a team
        • Delete a team
        • Invite team members
        • Remove team members
      • Bring your own Subscription
        • Azure
        • AWS
        • Google Cloud Platform
    • Account
      • Registration
      • Login
      • Delete account
  • Developers
    • API
      • Console
        • Auth
          • JWKS
        • Account
          • Need
        • Projects
          • Activity
        • Manage
          • Application
            • DNS
          • Database
          • Kubernetes
          • Virtual Machine
            • Security rule
          • Configurations
            • Location
            • Image
            • Price
            • Size
            • Provider
            • Cloud Provider
          • Attestation
        • vHSM
          • BYOS
          • User Storage
        • Settings
          • Team
          • Invite
        • Billing
          • Settings
          • Invoice
          • Cost
          • Promo - TODO
        • Support
          • Hubspot Files
          • Ticket
      • Admin
        • Auth
        • Accounts
          • Team
            • User
            • Application
            • Virtual machine
            • Database
            • Cluster
            • Resource
        • Quotas
          • Default quota
          • Provider quota
          • Team quota
        • Invoices
  • Resources
    • Blog
    • GitHub
    • Youtube
    • CCx101
Powered by GitBook
On this page
  • Login
  • Get profile

Was this helpful?

  1. Developers
  2. API
  3. Admin

Auth

We do not use JWT as in the Client section to identify the administrator. We use the username, password and API key that we specify in the .env file. After the client logs in, each request will have an API-KEY added to the headers object.

ADMIN_USERNAME=Enclaive
ADMIN_PASSWORD=Qw23K#D(#ke3
API_KEY=Mn3dcrNYNXswd332GSFVeq
APP_ADMIN_URL=

It is important to note that in the APP_ADMIN_URL field you must enter the URL where the admin dashboard is located. If the request comes from a different URL, the response will be an error with status 404 Not Found.

Login

POST {{BASE_URL}}/admin/api/auth/login

Admin authentication via email and password fields.

Path Parameters

Name
Type
Description

id*

String

App ID

Request Body

Name
Type
Description

username*

String

password*

String

{"apiKey":"MWGCcrWxNXsvdxExcHYGGSFVRsnq"}

Get profile

GET {{BASE_URL}}/admin/api/auth/profile

Get an administrator profile.

Headers

Name
Type
Description

Api-Key*

String

Admin api key

{"username":"Enclaive","role":"Admin"}

Last updated 1 year ago

Was this helpful?