MySQL Download URL
https://dev.mysql.com/get/Downloads/MySQL-5.5/mysql-5.5.56-linux-glibc2.5-x86_64.tar.gz
- Uninstall any existing version of MySQL
sudo rm /var/lib/mysql/ -R
# Import PowerShell module psPAS, if it doesn't exist, install it | |
Import-Module psPAS -ErrorAction SilentlyContinue | |
if ($LASTEXITCODE -ne 0) { | |
Install-Module psPAS -Force | |
Import-Module psPAS | |
} | |
# Import PowerShell module IdentityCommand, if it doesn't exist, install it | |
Import-Module IdentityCommand -ErrorAction SilentlyContinue | |
if ($LASTEXITCODE -ne 0) { |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: ClusterRoleBinding | |
metadata: | |
name: admin-service-account-issuer-discovery | |
subjects: | |
- kind: User | |
name: admin@example.com # Replace this with your actual admin username | |
apiGroup: rbac.authorization.k8s.io | |
roleRef: | |
kind: ClusterRole |
## USER VARIABLES | |
################# | |
# Specify the path to your .pfx file and its password | |
$pfxPath = "/Users/joe.garcia/OneDrive - CyberArk Ltd/Software/Certificates/ccp_clientcert_bundle.pfx" | |
# Define the URI for the CCP API | |
$uri = "https://cyberark.joegarcia.dev/AIMWebService/api/Accounts" | |
$appId = "Test" | |
$safe = "TestSafe" |
- hosts: all | |
gather_facts: no | |
tasks: | |
- block: | |
- name: Retrieve Password from CyberArk | |
cyberark.pas.cyberark_credential: | |
api_base_url: "{{ ccp_base_url }}" | |
app_id: "{{ ccp_app_id }}" |
#!/bin/bash | |
vibe_check() { | |
# Check if jq is installed | |
if ! command -v jq &> /dev/null; then | |
echo "jq is not installed" | |
exit 1 | |
fi | |
# Check if curl is installed |
A curated list of available resources to help you on your automation journey with CyberArk.
# Set request variables | |
$baseURL = "https://cyberark.joegarcia.dev" | |
$appID = "Ansible" | |
$safe = "D-Win-SvcAccts" | |
$object = "Operating System-WinDomain-joegarcia.dev-Svc_SSIS" | |
# Define the certificate thumbprint | |
$thumbprint = "INSERT_CERTIFICATE_THUMBPRINT_HERE" | |
# Retrieve the certificate from Current User's Personal certificate store |
{ | |
"version": "0", | |
"id": "4725d455-933f-495b-56d9-5ab003cd633f", | |
"detail-type": "AWS API Call via CloudTrail", | |
"source": "aws.secretsmanager", | |
"account": "123456789012", | |
"time": "2023-12-20T14:39:19Z", | |
"region": "us-east-1", | |
"resources": [], | |
"detail": { |
variable "conjur_appliance_url" {} | |
variable "conjur_login" {} | |
variable "conjur_api_key" {} | |
provider "conjur" { | |
appliance_url = var.conjur_appliance_url | |
account = "conjur" | |
login = var.conjur_login | |
api_key = var.conjur_api_key | |
} |