I'm trying to set up the TFS2018 search Service, but it reports a problem in the configuration wizard
I tried to change the user account to enable basic autentication in Serach Service and the Service Account, but always shows the same error.
Any suggestions?
Solved:
I needed to use Administrator as search service user, still using the Network service account for the service.
In this scenario, Elasticsearch service are using Network Service.
Related
I want to create my first project in Watson Studio; however, I can not do it because when I click on the "Create" bottom I receive the following message "Unable to configure credentials for your project in the selected Cloud Object Storage instance". Does anyone know what this means?
Thanks,
You need to be IBM Cloud account Administrator or Owner if you are using shared account within your organization.
If you are not account Administrator, you should ask account administrator to enable storage delegation for cloud object storage service used for project so that non-administrator users under that account can create project using that Cloud Object storage service.
Please check this documentation link:-
https://dataplatform.cloud.ibm.com/docs/content/wsj/getting-started/projects.html?audience=wdp
(See Requirements section).
https://dataplatform.cloud.ibm.com/docs/content/wsj/console/wdp_admin_cos.html?audience=wdp
There are also chances that this may be a temporary issue caused by some intermediate problem for IBM Cloud IAM service as this project creation attempts to create credentials for the storage service(IBM Cloud Object storage) you select, so you as account owner may also run into this issue. In such case, please reach out to IBM Support.
I need to authenticate to an API using OAUTH2, however, it has to be made programmatically, no user typing stuff in a browser is permitted.
This seems like such a simple use case, but I haven't found anything online, the only thing close to it was this post, and the only answer is "yeah, you don't want to use a web browser, but what if you do?"... This doesn't help.
So, please, opening a web browser is not an option, I just want to know if Google provides any way to authenticate purely through code.
Thank you!
In order to achieve your goal, I would like to propose to use the Service account. When the Service account is used, the access token can be retrieved without using the browser.
As the points for using the Service account, please check the following points.
The Service account is not your own Google account.
For example, as one of several situations, if you want to manage a file in your Google Drive using the Service account, please share the file with the Service account. By this, the Service account can access to the file in your Google Drive.
References:
OAuth2ServiceAccount
Several cases using the Service account
Google Drive Access - Service Account or OAuth - To read/write user files
Google service account not being authorized for calendar API
Service Account for google sheets returns not found
How to validate Dataflow Java code using Google Service Account?
Currently we are passing user credential to select/validate the Google project for executing Dataflow runner. Instead we need to validate the Dataflow code with Service Account.
It would be good if some one share the Java code to validate the Dataflow Job with Service Account.
To use the service account to communicate to Google Cloud all you have to do is to download the JSON file that contains your service account key and change the environment variable of the system to:
For Linux/MacOS:
export GOOGLE_APPLICATION_CREDENTIALS="/home/user/Downloads/service-account-file.json"
For Windows:
$env:GOOGLE_APPLICATION_CREDENTIALS="C:\Users\username\Downloads\[FILE_NAME].json"
You can get this key from the GCP console, select the Service Account you require, select JSON type and then click on create. You now have the JSON file containing your key on your machine.
You then run the job with:
--serviceAccount=service-account#my-project.iam.gserviceaccount.com
This flag runs with the service account mail. You can get the service account mail from the IAM panel of the Google Console. Also, remember to give the service account the appropriated roles and permissions.
To change the name of the job, you can use --jobName=[your_job_name] in order to give an specific name. If you are running the example from the
Quickstart Using Java and Apache Maven documentation, then your job name is going to use part of your username as default.
I'm using JIRA in the cloud (so the url I visit is .atlassian.net).
I've been trying to get and create issues using the JIRA API and this library https://bitbucket.org/farmas/atlassian.net-sdk/wiki/Home.
However I am getting authorization errors and since I know I have the correct login details, I was wondering if this would be related to the "Accept remote API calls" setting.
I followed the instruction here (https://confluence.atlassian.com/jira063/configuring-jira-options-683542606.html) but I can't see the "Accept remote API calls" setting. I should also mention that I am the account admin.
I'm wondering if this setting is only visible if you are hosting JIRA on your own server, or if there is something else I am missing.
Any help appreciated.
There is no setting to enable this on a Cloud instance and the remote API is enabled by default.
My pipeline doesn't start due to error:
(8e45efed0ad51300): Workflow failed. Causes: (8e45efed0ad51e7b): There was a problem refreshing your credentials.
Please check:
1. Dataflow API is enabled for your project.
2. There is a robot service account for your project: [project number]#cloudservices.gserviceaccount.com should have access to your project. If this account does not appear in the permissions tab for your project, contact Dataflow support.
I assume that Dataflow API is enabled as I'm able to reach Dataflow monitoring console, so first requirement is fulfilled. Second isn't. There is no a single account in the domain cloudservices.gserviceaccount.com.
Where can I ask for such help without paid support plan?
If you disable and then re-enable the Dataflow API for your project that should create the missing service account.
Hope that helps!