Thanks to visit codestin.com
Credit goes to github.com

Skip to content

aquasecurity/iamgo

 
 

Repository files navigation

iamgo

iamgo is a Go package for parsing/assembling AWS IAM policy documents, as the official SDK does not seem to fully support this.

It handles the multiple possible types for various IAM elements and hides this complexity from the consumer.

Example

package main

import (
    "fmt"
    
    "github.com/aquasecurity/iamgo"
)

func main() {

    rawJSON := []byte(`...`)

    doc, err := iamgo.Parse(rawJSON)
    if err != nil {
        panic(err)
    }
    fmt.Printf("Done: %#v\n", doc)
}

About

Parse/assemble AWS IAM policy documents and their various quirks

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 99.7%
  • Makefile 0.3%