ambari icon indicating copy to clipboard operation
ambari copied to clipboard

AMBARI-26556: Add a way to encrypted configurations.json file in the ambari-agent's cache

Open prabhjyotsingh opened this issue 1 month ago • 4 comments

What changes were proposed in this pull request?

Add a way to encrypted configurations.json file in the ambari-agent's cache

How was this patch tested?

before enabling encryption:

cluster_cache]# cat configurations.json 
{
  "2": {
    "configurations": {
      "admin-logback": {
        "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!--\n  Licensed to the Apache Software Foundation (ASF) under one or more\n  contributor license agreements.  See the NOTICE file distributed with\n  this work for additional information regarding copyright ownership.\n  The ASF licenses this file to You under the Apache License, Version 2.0\n  (the \"License\"); 

after enabling encryption:

cluster_cache]# cat configurations.json 
 b'${enc=aes128_hex, value=35343134333930393632613735326136333432373638353461333162313635613a3a373......

prabhjyotsingh avatar Nov 14 '25 19:11 prabhjyotsingh