Cloud computing has emerged as a promising platform that grants users direct yet shared access to computing resources and services without worrying about the internal complex infrastructure. However, secure data storage and data retrieval is the basic characteristics. Therefore, this paper proposes a novel double keys adapted elliptic curve cryptography (DKECC) and log normalized Gaussian sigmoid adaptive neuro‐fuzzy interference system (LGS‐ANFIS) based secure resource allocation system in decentralized cloud storage. Initially, the input data undergoes data fragmentation. After that, encryption is carried out using DKECC algorithm. Next, hash code generation using Pearson hash function is done. Then, resource availability is estimated via logistic sine chaotic mapping indulged rock hyraxes swarm optimization technique. Afterwards, data is checked for deduplication. Finally, resource allocation through LGS‐ANFIS takes place. The experimental outcomes demonstrated better results compared to baseline techniques. The modelling process showed that the suggested safe resource allocation model achieves the total security level of 96.27% while also having shorter reaction times (3018 ms), greater throughputs (1258), reduced load balancing (0.355874), and reduced latency (4372 ms).