4
votes
How do I run Terraform with AWS MFA?
The solution is to specify an assume_role statement:
provider "aws" {
profile = "default"
assume_role {
role_arn = "arn:aws:iam::[ACCOUNT_ID]:role/terraform-test-role"
}
}
4
votes
Heroku Slack integration without using Github
ChatOps uses GitHub status checks, so it's decidedly GitHub specific and won't work with another provider.
However, if you're just after notifications, what about Heroku's App webhooks? They have an '...
4
votes
Accepted
How to login to k8s proxy nowadays?
What is the Kubernetes version? Is it >1.8 ? (which has RBAC enabled by default).
The error message says that the Kubernetes Dashboard service account is not allowed to list configmaps in default ...
3
votes
Using GSuite or Github to Manage who can log into Linux or Windows VMs on Azure
I would really prefer to not have to also manage a separate Active Directory Domain within our VNets
You've already found the answer: centralized authentication.
If you use a tool like Okta, you can ...
2
votes
Create User Using Ansible with Authenticate Pem File
I suspect what is happening here is you are trying to insert the private key into the authorized_keys file, which is invalid as only the public key is required on the target machine.
What you need to ...
2
votes
Accepted
Can not authenticate to DockerHub docker.io with ctr; works fine with crictl
docker.io/library/$IMAGE:$TAG
The problem here is simple the right syntax for ctr isn't docker.io/alpine:latest but docker.io/library/alpine:latest that should now work with --creds "evancarroll:$...
1
vote
Can not authenticate to DockerHub docker.io with ctr; works fine with crictl
This is actually how I got it working with "ctr containerd.io 1.4.6".
ctr image pull --user "myusername:mypasswd" myurl.dot.com/docker_image:1.0.3
Hope it helps someone.
1
vote
In Ubuntu, how do I authenticate to trigger a Jenkins job remotely using the CLI?
This is covered in the documentation. In short, if you are triggering via HTTP, you need to generate an authentication token and use it with HTTP Basic auth, for instance:
curl -X POST -L --user your-...
1
vote
Jenkins pipeline for restricted repo
In the pipeline post actions you can use this:
post {
always {
deleteDir() // clean up our workspace
}
}
What way no files in the workspace remain. You have to either copy the file you want ...
1
vote
Accepted
How do I implement user authentication and management in Kubernetes?
I'm trying to architect a micro-service application, that runs in Kubernetes. It consists of several RESTful APIs. I want a central point to implement authentication for these APIs.
This is a good ...
1
vote
How do I run Terraform with AWS MFA?
The error message here is telling you that you are not allowed to enable MFADelete without having an authenticated token with mfa. Meaning the executing principal must have logged in with MFA.
...
1
vote
How do I run Terraform with AWS MFA?
I was looking into a similar use case and found this github issue in the terraform public repo:
https://github.com/terraform-providers/terraform-provider-aws/issues/629
As quoted in that issue:
"...
1
vote
Jenkins Pipeline GitLab API Credentials Management
Are you doing the building using web hooks or just polling? I think it's inevitable that you'll have to create a Jenkins account to manage API access. This Gitlab link explains how to use the Jenkins ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
authentication × 25jenkins × 5
kubernetes × 4
terraform × 3
azure × 3
openstack × 3
git × 2
gitlab × 2
jenkins-plugins × 2
linux × 2
github × 2
containerd × 2
k3s × 2
docker × 1
amazon-web-services × 1
ansible × 1
jenkins-pipeline × 1
deployment × 1
cicd × 1
prometheus × 1
configuration × 1
ingress × 1
grafana × 1
api × 1
dockerhub × 1