Home / Companies / New Relic / Blog / Post Details
Content Deep Dive

Rotate your license keys with Python and the NerdGraph API

Blog post from New Relic

Post Details
Company
Date Published
Author
Steve Ng, Senior Manager, Developer Relations
Word Count
1,061
Language
English
Hacker News Points
-
Summary

In the final installment of a five-part series on automating DevOps tasks using New Relic, the focus is on managing license keys through the New Relic Query Language (NRQL) and Python. The series covers creating, reading, updating, and deleting license keys using the NerdGraph API, offering sample code for each task. Regular rotation of license keys is emphasized for security, especially in industries adhering to standards like PCI DSS. The post includes Python methods for interacting with the NerdGraph API, demonstrating how to execute GraphQL queries for various license key operations. The author, Steve Ng, a Senior Manager of Developer Relations at New Relic, highlights the importance of integrating DevOps into observability practices and encourages readers to explore further resources provided by New Relic, including a free account offering and various integrations.