Problem
When attempting to run Vault CLI commands with HCP Vault, you receive a {"errors":["permission denied"]}
Error.
Cause
The Vault Namespace is not exported as an environment variable.
[Read more…]Clouds, DevSecOps, and Beyond...
When attempting to run Vault CLI commands with HCP Vault, you receive a {"errors":["permission denied"]}
Error.
The Vault Namespace is not exported as an environment variable.
[Read more…]In our previous article, we explored how to integrate GitLab with a self-hosted HashiCorp Vault to manage secrets securely. Building on that foundation, today’s focus shifts to utilizing HashiCorp Cloud Platform (HCP) Vault as a secret storage solution for GitLab. HCP Vault offers the same robust security features as the self-hosted version but with the added benefits of being fully managed and maintained by HashiCorp. This means you can enjoy streamlined setup, reduced operational overhead, and seamless scaling. In this article, we’ll guide you through the process of integrating HCP Vault with GitLab, ensuring your secrets are stored securely in the cloud while maintaining the efficiency of your CI/CD pipelines.
[Read more…]I am trying to set up the SMTP email notification. I want to configure it for my office 365.
Smtp server = smtp.office365.com
Problem:
When I configured credentials, I received an error: [Read more…]
Today I decided to encrypt all my Postgresql Database Dumps. The OpenSSL command provides a nice tool for helping us encrypt and decrypt database backups in this way. The following steps will walk us through this process.
The first step needed to encrypt your database is to generate the RSA public/private keys. This can be done with the following command:
I am configuring Jenkins + Xcode, to be able to build *.ipa files for testing it on iPhone. Recently I received an error:
The cleanest way to use Jenkins on Windows is to use the Jenkins Installer which installs Jenkins as a Windows Service.
That works fine, but of course the first challenge you face is cloning your Git repo over SSH (the default for the Jenkins Git plugin).
Apache Maven is a project management software, managing building, reporting and documentation of a Java development project. In order to install and configure Apache Maven on CentOS, follow these steps.
First of all, you need to install Java 1.8 JDK. Make sure to install Java JDK, not JRE.
Then go ahead and download the latest Maven binary from its official site. For example, for version 3.3.9:
One of my servers went down today. Problems started with deployment on jenkins that reported “No space left on device”, although partition was not nearly full. If you ever run into such trouble – most likely you have too many small or 0-sized files on your disk, and while you have enough disk space, you have exhausted all available Inodes. Below is the solution for this problem.
Problem
With mc, you want to copy lots of small files to remote machine. However, for every file it drops a warning: “cannot chmod target file”. Either you switch to root or you sit next to the keyboard and press Skip for every single file.
Solution
When you press F5, untick the option “Preserve attributes“. Done.
I am going to find WordPress Vulnerabilities on my blog with WP scan. WPScan is a black box WordPress Security Scanner written in Ruby which attempts to find known security weaknesses within WordPress installations. Its intended use it to be for security professionals or WordPress administrators to asses the security posture of their WordPress installations. The code base is Open Source and licensed under the GPLv3.