Configuring Credentials

API Builder credentials are defined in the configuration under the authorization key. Credentials are uniquely identified by its credential name, and its type. The credential name is how the credential will be referenced from the flows that use the credential. Each type of credential also requires additional type-specific configuration information. API Builder supports three credential types, API KeyHTTP Basic, and OAuth 2.0 with the respective types apiKeybasic, and oauth2.

default.js
authorization: {
    credentials: {
        "<credential name>": {
            type: "<type>",
            ...
        }
    }
}

For additional credential management information, refer to API Builder Standalone credential management. For how-to information on accessing Gmail using a Swagger flow-node, refer to Access Gmail using a Swagger flow-node. For how-to information on accessing Microsoft OneDrive using a REST flow-node, refer to Access Microsoft OneDrive using a REST flow-node.

Related Links