Giter Club home page Giter Club logo

govcraft / akton-arn Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 93 KB

A Rust library for handling Akton Resource Names (ARNs), providing tools for generating, parsing, and managing ARNs within Akton-based cloud-native solutions.

Rust 100.00%
api cloud-native cloud-native-applications cloud-native-architectures cloud-native-microservices hierarchical-data hierarchical-data-association network-programming qrn resource-management rust rust-crate rust-lang rust-library security government-technology

akton-arn's Introduction

akton-arn

Overview

The akton-arn crate provides a Rust-based implementation for handling Akton Resource Names (Arns), enabling the generation, parsing, and management of Arns within the Akton framework. This crate is designed to support cloud-native Akton-based solutions by offering robust, type-safe, and efficient Arn management capabilities. The functionality includes constructing, parsing, validating, and manipulating Arns according to the specified hierarchical structure used within various services.

Akton Resource Name (Arn) System

What is Arn?

The Akton Resource Name (Arn) is a structured identifier used within the Akton framework to uniquely identify and manage hierarchical actors across different services and partitions. Arns are designed to reflect the hierarchical relationships of actors within the system, facilitating effective management, security, and operational oversight.

Arn Structure

An Arn is composed of several parts, each representing a specific aspect of the resource:

arn:domain:category:account:root_id/path

Components

  • Arn: Indicates that the string is an Akton Resource Name.
    • partition: Classifies the resource as internal or external (akton-internal, akton-external).
    • service: Specifies the service within Akton system that the actor belongs to.
    • account-id: Identifies the owner or account responsible for the actor.
    • hierarchy/path: Provides a path-like structure that shows the actor's position within the tree, reflecting parent-child relationships.

Examples

Corporate Hierarchy Actor

arn:akton-internal:hr:company123:root/departmentA/team1

This Arn identifies an actor representing Team 1, which is part of Department A under the HR service, managed by account company123.

IoT Device in a Network Topology

arn:akton-external:iot:vendor456:root/region1/building5/floor3/device42

This Arn points to Device 42 located on Floor 3 of Building 5 in Region 1, managed by IoT services for the vendor account vendor456.

Crate Features

Path Construction

When adding new actors to the system, construct their Arn by appending to the parent's Arn path, ensuring each actor’s Arn accurately reflects their position within the hierarchy.

Dynamic Tree Manipulation

If an actor is moved within the hierarchy, update their Arn—and potentially those of all descendants—to reflect the new path. This keeps the identification consistent and meaningful.

Resource Management

Use Arns for logging, access control, and management tools to monitor interactions, manage permissions, and track activities based on actors' hierarchical locations.

Conclusion

The akton-arn crate is an essential component of the Akton framework, providing a robust method for uniquely identifying and managing actors within a complex, hierarchical structure, supporting enhanced security, operational management, and clarity throughout the system.

For more information, visit Akton's Github.

akton-arn's People

Contributors

rrrodzilla avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.