You can use an API token to authenticate a script or other process with an Atlassian cloud product. You generate the token from your Atlassian account, then copy and paste it to the script. If you use two-step verification to authenticate, your script will need to use a REST API token to authenticate. Generate a token. On the Settings menu, select Security extensions and then API tokens. Click the plus icon, Generate new token and provide a name to identify the token in the future, and click Next. Copy the token value and save it somewhere for recovery - if you lose it you need to regenerate the token.
-->Applies to: Microsoft Cloud App Security
The Microsoft Cloud App Security API provides programmatic access to Cloud App Security through REST API endpoints. Applications can use the API to perform read and update operations on Cloud App Security data and objects. For example, the Cloud App Security API supports the following common operations for a user object:
C# Generate Access Token
- Upload log files for Cloud Discovery
- Generate block scripts
- List activities, alerts, and policy reports
- Dismiss or resolve alerts
To see the full documentation of the API, in the Cloud App Security portal go to Help > API documentation.
In order to access the API, you have to create an API token and use it in your software to connect to the Cloud App Security API.
The API tokens tab enables you to help you manage all the API tokens of your tenant.
Generate a token
- On the Settings menu, select Security extensions and then API tokens.
- Click the plus icon, Generate new token and provide a name to identify the token in the future, and click Next.
- Copy the token value and save it somewhere for recovery - if you lose it you need to regenerate the token. The token has the privileges of the user who issued it. For example, a security reader can't issue a token that can alter data.
- You can filter the tokens by status: Active, Inactive, or Generated.
- Generated are tokens that have never been used.
- Active are tokens that were generated and were used within the past seven days.
- Inactive were used but there was no activity in the last seven days.
- After you generate a new token, you'll be provided with a new URL to use to access the Cloud App Security portal.The generic portal URL continues to work but is considerably slower than the custom URL provided with your token. If you forget the URL at any time, you can view it by going to the ? icon in the menu and selecting About.
Note
If you are using Azure Active Directory Privileged Identity Management role activation, your API token will only be effective once the role is activated. For more information, see Activate my Azure AD roles in PIM.
API token management
The API token page includes a table of all the API tokens that were generated.
Full admins see all tokens generated for this tenant. Other users only see the tokens that they generated themselves.
The table provides details about when the token was generated and when it was last used and allows you to revoke the token.
After a token is revoked, it's removed from the table, and the software that was using it fails to make API calls until a new token is provided.
Note
- SIEM connectors and log collectors also use API tokens. These tokens should be managed from the log collectors and SIEM agent sections and do not appear in this table.
- Deprovisioned users API tokens are retained in Cloud App Security but cannot be used. Any attempt to use them will result in a permission denied response. However, we recommend that such tokens are revoked on the API tokens page.
Next steps
If you run into any problems, we're here to help. To get assistance or support for your product issue, please open a support ticket.
Check out this video!
With the new rules and API version 3 changes YouTube is requiring all users that want to view videos outside of YouTubes website to register and create a Project to access the API. The good news is this process is fairly simple.
In order for you to get the YouTube feed working you need an API Key. Here is the process to obtain that.
- Go to https://developers.google.com/ and log in or create an account, if necessary.
- After logging in go to this link https://console.developers.google.com/project and click on the blue CREATE PROJECT button as depicted in the photo below. Wait a moment as google prepares your project.
- Fill in whatever Project Name you want.
- Then click GoogleAPIs link in the top left corner and then click the link option called “YouTube Data API.” It’s under YouTube API’s. You can see it highlighted in the photo below, bottom right.
- Now click on the “ENABLE” button.
- Next click on the blue ‘Go to Credentials’ button to the right.
- Choose the select option YouTube Data API v3 for the first select option and Web server(e.g. node js. Tomcat) for the second selection. Then choose Public data. Now click the blue button, “What credentials do I need?.”
- Almost done, wait for google to create your new project and you should see the screen below where you can copy your API Key.
- Paste the API Key in our YouTube Options menu page as depicted below.
VERY IMPORTANT: If you get an error notice the best thing to do we have found in the trials here is to absolutely delete the Public API access. Microsoft word free product key generator online. Then add it again.
That’s it, you’re done!
Videos not working?
Trouble Shooting Tip for a non-listed registry provider while attempting to verify your website at Google. It turns out that the DNS CNAME entry for Google is required in some instances (when choosing “Other” from their registry provider list). It’s possible the old CNAME will block the new CNAME from working if you do not do this.
Trouble Shooting Tip for a non-listed registry provider while attempting to verify your website at Google. It turns out that the DNS CNAME entry for Google is required in some instances (when choosing “Other” from their registry provider list). It’s possible the old CNAME will block the new CNAME from working if you do not do this.